diff --git a/docker-compose.yml b/docker-compose.yml index ab181aa..c81d637 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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