Update project docker image name #416

This commit is contained in:
khs1994
2019-08-31 17:47:38 +08:00
parent 593a0c39ff
commit c075122492
6 changed files with 19 additions and 15 deletions

View File

@@ -1,8 +1,8 @@
version: "3"
services:
# $ docker-compose up server => up a serverOnly Support Linux or macOS
server:
image: yeasy/docker_practice:latest
ports:
@@ -19,13 +19,10 @@ services:
- ./:/srv/gitbook-src
command: build
# $ docker run -it --rm -p 4000:80 dockerpracticecn/docker_practice
# $ docker up offline
# $ docker run -it --rm -p 4000:80 dockerpracticesig/docker_practice
offline:
# this image build by travis ci
image: dockerpracticecn/docker_practice
image: dockerpracticesig/docker_practice
ports:
- 4000:80