Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sfzx-website
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
丁伟
sfzx-website
Commits
8fd1fe62
Commit
8fd1fe62
authored
Sep 10, 2020
by
丁伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、迁移初始提交
parent
07943615
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
0 deletions
+38
-0
docker-compose.yml
+38
-0
pom.xml
+0
-0
No files found.
docker-compose.yml
0 → 100644
View file @
8fd1fe62
version
:
'
3'
services
:
backend
:
command
:
[
"
java"
,
"
-jar"
,
"
/app.jar"
]
depends_on
:
-
mysql
environment
:
SPRING_DATASOURCE_URL
:
jdbc:mysql://mysql:3306/sfzx_website?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull
FILE_UPLOAD_ROOT
:
/upload/files
image
:
bqluan/docker-openjdk:8-jre-alpine
ports
:
-
"
30077:8080"
volumes
:
-
./sfzx-website-0.0.1-SNAPSHOT.jar:/app.jar
-
./upload/files:/upload/files
networks
:
hx_net
:
ipv4_address
:
172.37.0.3
mysql
:
environment
:
MYSQL_ROOT_PASSWORD
:
root
image
:
itc/mariadb:10.2
volumes
:
-
./database:/var/lib/mysql
networks
:
hx_net
:
ipv4_address
:
172.37.0.5
networks
:
hx_net
:
driver
:
bridge
ipam
:
config
:
-
subnet
:
172.37.0.0/24
\ No newline at end of file
pom.xml
0 → 100644
View file @
8fd1fe62
This diff is collapsed.
Click to expand it.
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