更新 docker-compose.yml

This commit is contained in:
Bryant 2024-02-04 17:47:07 +08:00
parent ece44cc946
commit 71bf3489ed
1 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,7 @@ services:
timeout: 10s timeout: 10s
retries: 3 retries: 3
networks: networks:
- swarmpit_network
- diyue-network - diyue-network
deploy: deploy:
resources: resources:
@ -51,6 +52,7 @@ services:
volumes: volumes:
- db-data:/opt/couchdb/data - db-data:/opt/couchdb/data
networks: networks:
- swarmpit_network
- diyue-network - diyue-network
deploy: deploy:
resources: resources:
@ -69,6 +71,7 @@ services:
volumes: volumes:
- influx-data:/var/lib/influxdb - influx-data:/var/lib/influxdb
networks: networks:
- swarmpit_network
- diyue-network - diyue-network
deploy: deploy:
resources: resources:
@ -89,6 +92,7 @@ services:
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
networks: networks:
- swarmpit_network
- diyue-network - diyue-network
deploy: deploy:
mode: global mode: global
@ -109,6 +113,8 @@ volumes:
driver: local driver: local
networks: networks:
swarmpit_network:
driver: bridge
diyue-network: diyue-network:
driver: overlay driver: overlay