mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-28 01:08:53 +00:00
Update docker-compose.yml
This commit is contained in:
parent
c4d6b80c18
commit
f2a2e421b5
@ -17,7 +17,7 @@ services:
|
|||||||
- .travis/conf.d:/etc/nginx/conf.d
|
- .travis/conf.d:/etc/nginx/conf.d
|
||||||
ports:
|
ports:
|
||||||
- 4000:4000
|
- 4000:4000
|
||||||
command: ["nginx", "-c", "/etc/nginx/conf.d/nginx.conf", "-g", "daemon off;"]
|
command: ["nginx", "-c", "/etc/nginx/conf.d/nginx.conf", "-g", "daemon off;"]
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: yeasy/docker_practice:latest
|
image: yeasy/docker_practice:latest
|
||||||
@ -33,3 +33,4 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./:/srv/gitbook-src
|
- ./:/srv/gitbook-src
|
||||||
command: server
|
command: server
|
||||||
|
# command: build
|
||||||
|
Loading…
Reference in New Issue
Block a user