Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
maven_test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
郭灿峰
maven_test
Commits
557fdf86
Commit
557fdf86
authored
Jul 07, 2020
by
郭灿峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docker-compose.yml
parent
610d3dcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
docker-compose.yml
docker-compose.yml
+5
-3
No files found.
docker-compose.yml
View file @
557fdf86
...
...
@@ -3,6 +3,7 @@ services:
mysql
:
container_name
:
bbs-mysql
image
:
mysql/mysql-server:5.7
network_mode
:
"
host"
environment
:
MYSQL_DATABASE
:
pybbs
MYSQL_ROOT_PASSWORD
:
root
...
...
@@ -19,11 +20,12 @@ services:
container_name
:
bbs-server
image
:
registry.lizhi.co/registry/pybbs
working_dir
:
/app
network_mode
:
"
host"
environment
:
TZ
:
Asia/Shanghai
ports
:
-
"
8080
:8080
"
command
:
java -jar pybbs.jar
expose
:
-
"
8080"
command
:
java -jar pybbs.jar
depends_on
:
-
mysql
restart
:
always
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