Files
kuboard-press/docker-compose.yaml
huanqing.shao 1f287e1033 disruption
2019-11-07 11:52:35 +08:00

39 lines
863 B
YAML

version: "3"
services:
web:
# replace username/repo:tag with your name and image details
image: eipwork/kuboard-press:latest
deploy:
replicas: 1
resources:
limits:
cpus: "0.1"
memory: 500M
restart_policy:
condition: on-failure
ports:
- "8081:80"
volumes:
- ./docs:/usr/share/nginx/html
networks:
- webnet
kubetrain:
# replace username/repo:tag with your name and image details
image: eipwork/kuboard-press:latest
deploy:
replicas: 1
resources:
limits:
cpus: "0.1"
memory: 500M
restart_policy:
condition: on-failure
ports:
- "8082:80"
volumes:
- /Users/shaohuanqing/Kuboard/kuboard-workspace/kubetrain/root:/usr/share/nginx/html
networks:
- webnet
networks:
webnet: