update apisix

This commit is contained in:
BryantHe 2024-03-10 14:32:18 +08:00
parent f5ee07d478
commit aae2522ff9
1 changed files with 7 additions and 2 deletions

View File

@ -21,9 +21,9 @@ services:
apisix-dashboard: apisix-dashboard:
image: apache/apisix-dashboard:latest image: apache/apisix-dashboard:latest
volumes: 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: ports:
- "9000:9000" - "9000:9000"
deploy: deploy:
resources: resources:
reservations: reservations:
@ -39,6 +39,7 @@ 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
@ -68,6 +69,7 @@ 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
@ -96,6 +98,7 @@ 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
@ -147,6 +150,8 @@ networks:
diyue-network: diyue-network:
driver: overlay driver: overlay
attachable: true attachable: true
apisix-local-network:
driver: bridge
volumes: volumes:
etcd_data: etcd_data: