Update docker-compose.yml

pull/258/head
khs1994 2017-11-29 10:35:57 +08:00
parent c4d6b80c18
commit f2a2e421b5
1 changed files with 2 additions and 1 deletions

View File

@ -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