更新 docker-compose.yml
This commit is contained in:
parent
ece44cc946
commit
71bf3489ed
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue