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: