From 2bd4ee1e01bdaf88ea572b93e15d7ecbb8bcf2fa Mon Sep 17 00:00:00 2001 From: BryantHe Date: Sun, 4 Feb 2024 17:41:35 +0800 Subject: [PATCH] fix: add diyue-network 2 --- docker-compose-apisix.yml | 12 ++++++++---- docker-compose-mongodb.yml | 3 ++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/docker-compose-apisix.yml b/docker-compose-apisix.yml index 2189890..dd01188 100644 --- a/docker-compose-apisix.yml +++ b/docker-compose-apisix.yml @@ -28,7 +28,8 @@ services: ports: - "9000:9000" networks: - apisix: + - apisix + - diyue-network apisix: image: apache/apisix:latest @@ -65,7 +66,8 @@ services: ports: - "2379:2379/tcp" networks: - apisix: + - apisix + - diyue-network prometheus: image: prom/prometheus:latest @@ -77,7 +79,8 @@ services: ports: - "9093:9090" networks: - apisix: + - apisix + - diyue-network grafana: image: grafana/grafana:latest @@ -91,7 +94,8 @@ services: - "./apisix/grafana_conf/dashboards:/var/lib/grafana/dashboards" - "./apisix/grafana_conf/config/grafana.ini:/etc/grafana/grafana.ini" networks: - apisix: + - apisix + - diyue-network networks: apisix: diff --git a/docker-compose-mongodb.yml b/docker-compose-mongodb.yml index ea4b093..6ba6592 100644 --- a/docker-compose-mongodb.yml +++ b/docker-compose-mongodb.yml @@ -28,7 +28,8 @@ services: - ME_CONFIG_MONGODB_ADMINPASSWORD=mongodb27017 - ME_CONFIG_MONGODB_SERVER=mongodb networks: - mongodb_network: + - mongodb_network + - diyue-network networks: mongodb_network: