update apisix
This commit is contained in:
parent
aae2522ff9
commit
e2153e5776
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue