fix: add diyue-network 2

This commit is contained in:
BryantHe 2024-02-04 17:41:35 +08:00
parent d8a5d790b2
commit 2bd4ee1e01
2 changed files with 10 additions and 5 deletions

View File

@ -28,7 +28,8 @@ services:
ports: ports:
- "9000:9000" - "9000:9000"
networks: networks:
apisix: - apisix
- diyue-network
apisix: apisix:
image: apache/apisix:latest image: apache/apisix:latest
@ -65,7 +66,8 @@ services:
ports: ports:
- "2379:2379/tcp" - "2379:2379/tcp"
networks: networks:
apisix: - apisix
- diyue-network
prometheus: prometheus:
image: prom/prometheus:latest image: prom/prometheus:latest
@ -77,7 +79,8 @@ services:
ports: ports:
- "9093:9090" - "9093:9090"
networks: networks:
apisix: - apisix
- diyue-network
grafana: grafana:
image: grafana/grafana:latest image: grafana/grafana:latest
@ -91,7 +94,8 @@ services:
- "./apisix/grafana_conf/dashboards:/var/lib/grafana/dashboards" - "./apisix/grafana_conf/dashboards:/var/lib/grafana/dashboards"
- "./apisix/grafana_conf/config/grafana.ini:/etc/grafana/grafana.ini" - "./apisix/grafana_conf/config/grafana.ini:/etc/grafana/grafana.ini"
networks: networks:
apisix: - apisix
- diyue-network
networks: networks:
apisix: apisix:

View File

@ -28,7 +28,8 @@ services:
- ME_CONFIG_MONGODB_ADMINPASSWORD=mongodb27017 - ME_CONFIG_MONGODB_ADMINPASSWORD=mongodb27017
- ME_CONFIG_MONGODB_SERVER=mongodb - ME_CONFIG_MONGODB_SERVER=mongodb
networks: networks:
mongodb_network: - mongodb_network
- diyue-network
networks: networks:
mongodb_network: mongodb_network: