更新 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
retries: 3
networks:
- swarmpit_network
- diyue-network
deploy:
resources:
@ -51,6 +52,7 @@ services:
volumes:
- db-data:/opt/couchdb/data
networks:
- swarmpit_network
- diyue-network
deploy:
resources:
@ -69,6 +71,7 @@ services:
volumes:
- influx-data:/var/lib/influxdb
networks:
- swarmpit_network
- diyue-network
deploy:
resources:
@ -89,6 +92,7 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- swarmpit_network
- diyue-network
deploy:
mode: global
@ -109,6 +113,8 @@ volumes:
driver: local
networks:
swarmpit_network:
driver: bridge
diyue-network:
driver: overlay