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:
- "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:

View File

@ -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: