2017-11-21 11:05:06 +00:00
|
|
|
version: "3"
|
2019-08-31 09:47:38 +00:00
|
|
|
|
2017-11-21 11:05:06 +00:00
|
|
|
services:
|
|
|
|
|
2021-06-27 14:34:53 +00:00
|
|
|
gitbook-build:
|
|
|
|
&gitbook-build
|
2017-11-28 05:38:13 +00:00
|
|
|
image: yeasy/docker_practice:latest
|
|
|
|
volumes:
|
|
|
|
- ./:/srv/gitbook-src
|
|
|
|
command: build
|
|
|
|
|
2021-06-27 14:34:53 +00:00
|
|
|
gitbook-server:
|
|
|
|
<< : *gitbook-build
|
|
|
|
ports:
|
|
|
|
- 4000:4000
|
|
|
|
command: server
|
|
|
|
|
|
|
|
# docker run -it --rm -p 4000:80 dockerpracticesig/docker_practice
|
|
|
|
gitbook-offline:
|
|
|
|
&gitbook-offline
|
2020-12-20 14:32:04 +00:00
|
|
|
# this image build by GitHub Action
|
2021-06-27 14:34:53 +00:00
|
|
|
image: dockerpracticesig/docker_practice:gitbook
|
2018-01-23 13:34:32 +00:00
|
|
|
ports:
|
|
|
|
- 4000:80
|
|
|
|
|
2021-06-27 14:34:53 +00:00
|
|
|
vuepress-offline:
|
|
|
|
<< : *gitbook-offline
|
|
|
|
image: dockerpracticesig/docker_practice:vuepress
|
|
|
|
|
2018-01-23 13:34:32 +00:00
|
|
|
# developer test docker image
|
|
|
|
|
2017-11-28 05:38:13 +00:00
|
|
|
development:
|
|
|
|
build: ./.travis
|
2017-12-10 04:53:57 +00:00
|
|
|
image: yeasy/docker_practice:latest
|
2017-11-28 05:38:13 +00:00
|
|
|
ports:
|
|
|
|
- 4000:4000
|
|
|
|
volumes:
|
|
|
|
- ./:/srv/gitbook-src
|
|
|
|
command: server
|
2017-11-29 02:35:57 +00:00
|
|
|
# command: build
|