diff --git a/docker-compose-apisix.yml b/docker-compose-apisix.yml index 9781647..f66ab24 100644 --- a/docker-compose-apisix.yml +++ b/docker-compose-apisix.yml @@ -39,7 +39,6 @@ services: - 'node.role == manager' networks: - diyue-network - - apisix-local-network apisix: image: apache/apisix:latest @@ -47,7 +46,7 @@ services: - ./apisix/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro depends_on: - etcd - ##network_mode: host + network_mode: host ports: - "9180:9180/tcp" - "9080:9080/tcp" @@ -69,7 +68,6 @@ services: - 'node.role == manager' networks: - diyue-network - - apisix-local-network etcd: image: bitnami/etcd:latest @@ -98,7 +96,6 @@ services: - 'node.role == manager' networks: - diyue-network - - apisix-local-network prometheus: image: prom/prometheus:latest @@ -150,8 +147,6 @@ networks: diyue-network: driver: overlay attachable: true - apisix-local-network: - driver: bridge volumes: etcd_data: