Files
kuboard-press/docker-compose.yaml
2020-05-31 12:46:56 +08:00

52 lines
1.5 KiB
YAML

version: "3"
services:
kuboard:
image: eipwork/kuboard:latest
ports:
- "8083:80"
environment:
KUBERNETES_SERVICE_HOST: 127.0.0.1
KUBERNETES_SERVICE_PORT_HTTPS: 6443
volumes:
# - /Users/shaohuanqing/Kuboard/kuboard-workspace/nginx-lua/docker/nginx.80.conf:/etc/nginx/conf.d/nginx.80.conf
- /Users/shaohuanqing/Kuboard/kuboard-workspace/kuboard-press/docs:/usr/share/nginx/html
# - /Users/shaohuanqing/Kuboard/kuboard-workspace/nginx-lua/docker/nginx-jwt.lua:/usr/local/openresty/nginx/jwt-lua/resty/nginx-jwt.lua
networks:
- webnet
# 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: