Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
IDPServer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Josh Ji
IDPServer
Commits
290f6aca
Commit
290f6aca
authored
Nov 15, 2022
by
Josh Ji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Dockerfiles
change packaging to jar file
parent
1a35bad0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
Dockerfile_IDPServer
Dockerfile_IDPServer
+7
-0
Dockerfile_MySQL
Dockerfile_MySQL
+5
-0
pom.xml
pom.xml
+1
-1
No files found.
Dockerfile_IDPServer
0 → 100644
View file @
290f6aca
FROM
openjdk:11
COPY
target/*.jar app.jar
EXPOSE
8086
ENV
SPRING_DATASOURCE_USERNAME=root
ENV
SPRING_DATASOURCE_PASSWORD=idppasswd
ENV
SPRING_DATASOURCE_URL=jdbc:mysql://140.118.137.29:3306/idp
ENTRYPOINT
java -jar app.jar
\ No newline at end of file
Dockerfile_MySQL
0 → 100644
View file @
290f6aca
FROM
mysql:8
ENV
MYSQL_DATABASE idp
ENV
MYSQL_ROOT_PASSWORD idppasswd
EXPOSE
3306
COPY
testDB.sql /docker-entrypoint-initdb.d
pom.xml
View file @
290f6aca
...
...
@@ -11,7 +11,7 @@
<groupId>
com.prlab
</groupId>
<artifactId>
IDPServer
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<packaging>
w
ar
</packaging>
<packaging>
j
ar
</packaging>
<name>
IDPServer
</name>
<description>
IDPServer
</description>
<properties>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment