更新 docker-compose.yml

This commit is contained in:
Bryant 2024-01-30 17:40:40 +08:00
parent 21b3bf6203
commit d7880f49ac
1 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,8 @@ version: "3.8"
services: services:
visualizer: visualizer:
image: dockersamples/visualizer:stable image: dockersamples/visualizer:latest
privileged: true
ports: ports:
- "8001:8080" - "8001:8080"
stop_grace_period: 1m30s stop_grace_period: 1m30s
@ -18,6 +19,7 @@ services:
- diyue-network - diyue-network
swarmpit-app: swarmpit-app:
image: swarmpit/swarmpit:latest image: swarmpit/swarmpit:latest
privileged: true
ports: ports:
- "888:8080" - "888:8080"
environment: environment:
@ -76,6 +78,7 @@ services:
- node.labels.swarmpit.influx-data == true - node.labels.swarmpit.influx-data == true
swarmpit-agent: swarmpit-agent:
image: swarmpit/agent:latest image: swarmpit/agent:latest
privileged: true
environment: environment:
- DOCKER_API_VERSION=1.43 - DOCKER_API_VERSION=1.43
volumes: volumes: