update apisix

This commit is contained in:
BryantHe 2024-03-10 13:30:37 +08:00
parent 3c9791dc3e
commit d1b8754c70
1 changed files with 1 additions and 6 deletions

View File

@ -20,7 +20,6 @@ version: "3.8"
services: services:
apisix-dashboard: apisix-dashboard:
image: apache/apisix-dashboard:latest image: apache/apisix-dashboard:latest
hostname: 'apisix-dashboard'
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:
@ -43,7 +42,6 @@ services:
apisix: apisix:
image: apache/apisix:latest image: apache/apisix:latest
hostname: 'apisix'
volumes: volumes:
- ./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:
@ -73,13 +71,12 @@ services:
etcd: etcd:
image: bitnami/etcd:latest image: bitnami/etcd:latest
hostname: 'apisix-etcd'
volumes: volumes:
- etcd_data:/bitnami/etcd - etcd_data:/bitnami/etcd
environment: environment:
ETCD_ENABLE_V2: "true" ETCD_ENABLE_V2: "true"
ALLOW_NONE_AUTHENTICATION: "yes" ALLOW_NONE_AUTHENTICATION: "yes"
ETCD_ADVERTISE_CLIENT_URLS: "http://etcd:2379" ETCD_ADVERTISE_CLIENT_URLS: "http://localhost:2379"
ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379" ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379"
ports: ports:
- "2379:2379/tcp" - "2379:2379/tcp"
@ -101,7 +98,6 @@ services:
prometheus: prometheus:
image: prom/prometheus:latest image: prom/prometheus:latest
hostname: 'apisix-prometheus'
volumes: volumes:
- ./apisix/prometheus_conf/prometheus.yml:/etc/prometheus/prometheus.yml - ./apisix/prometheus_conf/prometheus.yml:/etc/prometheus/prometheus.yml
ports: ports:
@ -124,7 +120,6 @@ services:
grafana: grafana:
image: grafana/grafana:latest image: grafana/grafana:latest
hostname: 'apisix-grafana'
ports: ports:
- "3010:3000" - "3010:3000"
volumes: volumes: