From d1b8754c7043f299508dcb06a438aba1e81d974b Mon Sep 17 00:00:00 2001 From: BryantHe Date: Sun, 10 Mar 2024 13:30:37 +0800 Subject: [PATCH] update apisix --- docker-compose-apisix.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docker-compose-apisix.yml b/docker-compose-apisix.yml index 5fc04e8..cc62abe 100644 --- a/docker-compose-apisix.yml +++ b/docker-compose-apisix.yml @@ -20,7 +20,6 @@ version: "3.8" services: apisix-dashboard: image: apache/apisix-dashboard:latest - hostname: 'apisix-dashboard' volumes: - ./apisix/dashboard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml ports: @@ -43,7 +42,6 @@ services: apisix: image: apache/apisix:latest - hostname: 'apisix' volumes: - ./apisix/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro depends_on: @@ -73,13 +71,12 @@ services: etcd: image: bitnami/etcd:latest - hostname: 'apisix-etcd' volumes: - etcd_data:/bitnami/etcd environment: ETCD_ENABLE_V2: "true" 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" ports: - "2379:2379/tcp" @@ -101,7 +98,6 @@ services: prometheus: image: prom/prometheus:latest - hostname: 'apisix-prometheus' volumes: - ./apisix/prometheus_conf/prometheus.yml:/etc/prometheus/prometheus.yml ports: @@ -124,7 +120,6 @@ services: grafana: image: grafana/grafana:latest - hostname: 'apisix-grafana' ports: - "3010:3000" volumes: