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:
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: