更新 docker-compose.yml
This commit is contained in:
parent
71bf3489ed
commit
4765abc0f1
@ -34,7 +34,6 @@ services:
|
|||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
networks:
|
networks:
|
||||||
- swarmpit_network
|
|
||||||
- diyue-network
|
- diyue-network
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
@ -52,7 +51,6 @@ 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:
|
||||||
@ -71,7 +69,6 @@ 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:
|
||||||
@ -92,7 +89,6 @@ 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
|
||||||
@ -113,10 +109,9 @@ volumes:
|
|||||||
driver: local
|
driver: local
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
swarmpit_network:
|
|
||||||
driver: bridge
|
|
||||||
diyue-network:
|
diyue-network:
|
||||||
driver: overlay
|
driver: overlay
|
||||||
|
attachable: true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user