From 71bf3489edc2b07f1864fdb41720b3c17996732c Mon Sep 17 00:00:00 2001 From: Bryant Date: Sun, 4 Feb 2024 17:47:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20docker-compose.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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