forked from wangbo/easyai
feat(update): 发布双链路更新进度与线上验收审计
This commit is contained in:
+8
-2
@@ -294,7 +294,7 @@ services:
|
||||
easyai:
|
||||
ipv4_address: 172.21.0.12
|
||||
watchtower:
|
||||
image: registry.cn-shanghai.aliyuncs.com/comfy-ai/watchtower-aliyun:latest
|
||||
image: ${WATCHTOWER_IMAGE:-registry.cn-shanghai.aliyuncs.com/comfy-ai/watchtower-aliyun:1.22.3}
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ${DOCKER_CONFIG_FILE:-/root/.docker/config.json}:/config.json:ro
|
||||
@@ -303,6 +303,11 @@ services:
|
||||
environment:
|
||||
- WATCHTOWER_POLL_INTERVAL=${SYSTEM_UPDATER_UPDATE_INTERVAL_SECONDS:-86400}
|
||||
- WATCHTOWER_CLEANUP=${WATCHTOWER_CLEANUP:-false}
|
||||
- WATCHTOWER_HTTP_API_HOST=0.0.0.0
|
||||
- WATCHTOWER_HTTP_API_ENDPOINTS=health,update,metrics,events,history
|
||||
- WATCHTOWER_HTTP_API_TOKEN=${WATCHTOWER_API_KEY}
|
||||
- WATCHTOWER_HTTP_API_EVENTS_TOKEN=${WATCHTOWER_HTTP_API_EVENTS_TOKEN}
|
||||
- WATCHTOWER_HTTP_API_PERIODIC_POLLS=${WATCHTOWER_HTTP_API_PERIODIC_POLLS:-false}
|
||||
restart: always
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=false"
|
||||
@@ -347,7 +352,8 @@ services:
|
||||
tmpfs:
|
||||
- /tmp:mode=1777
|
||||
networks:
|
||||
- easyai
|
||||
easyai:
|
||||
ipv4_address: 172.21.0.31
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "node -e \"require('http').get('http://127.0.0.1:3015/health', (res) => { res.resume(); process.exit(res.statusCode === 200 ? 0 : 1); }).on('error', () => process.exit(1))\""]
|
||||
interval: 10s
|
||||
|
||||
Reference in New Issue
Block a user