update apisix

This commit is contained in:
BryantHe 2024-03-10 14:34:35 +08:00
parent aae2522ff9
commit e2153e5776
1 changed files with 1 additions and 6 deletions

View File

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