diff --git a/docker-compose-apisix.yml b/docker-compose-apisix.yml index f199fd1..9781647 100644 --- a/docker-compose-apisix.yml +++ b/docker-compose-apisix.yml @@ -21,9 +21,9 @@ services: apisix-dashboard: image: apache/apisix-dashboard:latest volumes: - - ./apisix/dashboard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml + - ./apisix/dashboard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml ports: - - "9000:9000" + - "9000:9000" deploy: resources: reservations: @@ -39,6 +39,7 @@ services: - 'node.role == manager' networks: - diyue-network + - apisix-local-network apisix: image: apache/apisix:latest @@ -68,6 +69,7 @@ services: - 'node.role == manager' networks: - diyue-network + - apisix-local-network etcd: image: bitnami/etcd:latest @@ -96,6 +98,7 @@ services: - 'node.role == manager' networks: - diyue-network + - apisix-local-network prometheus: image: prom/prometheus:latest @@ -147,6 +150,8 @@ networks: diyue-network: driver: overlay attachable: true + apisix-local-network: + driver: bridge volumes: etcd_data: