From aae2522ff92f2c6106b3eeb579812652a5ddfe03 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Sun, 10 Mar 2024 14:32:18 +0800 Subject: [PATCH] update apisix --- docker-compose-apisix.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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: