meteor aliyun docker 编排文档

docker 编排文档实例
kubitter:
image: 'registry.cn-hangzhou.aliyuncs.com/jhonyoung_test/test:latest' //镜像
mem_limit: 0
environment:
- PORT=80
- 'METEOR_SETTINGS={}' //meteor settings
- 'ROOT_URL=http://www.kubitter.com'
kernel_memory: 0
memswap_reservation: 0
restart: always
shm_size: 0
expose:
- 80/tcp
memswap_limit: 0
labels:
aliyun.scale: '1' //容器数量
aliyun.routing.port_80: 'http://www.kubitter.com;http://www.kubitter.top'
aliyun.probe.url: 'http://container:80' //健康检查 通过url
aliyun.probe.timeout_seconds: "10"
aliyun.probe.initial_delay_seconds: "3"
aliyun.rolling_updates: 'true' //滚动更新
aliyun.rolling_updates.parallelism: "2"

你可能感兴趣的:(meteor aliyun docker 编排文档)