From e23ffe4e7d69a2432dee9e17a43308d18e54aedb Mon Sep 17 00:00:00 2001 From: canghe <2689458656@qq.com> Date: Tue, 28 May 2024 14:20:53 +0800 Subject: [PATCH] =?UTF-8?q?feat/=E7=8E=AF=E5=A2=83=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/docker-compose.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 3f3337e..ae12d84 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -56,10 +56,22 @@ services: dockerfile: dockerfile ports: - "6880:6880" + environment: + - SPRING_PROFILES_ACTIVE=dev + - SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=http://pmhub-nacos:8848 + - SPRING_CLOUD_NACOS_DISCOVERY_USERNAME=nacos + - SPRING_CLOUD_NACOS_DISCOVERY_PASSWORD=AbMt1425@asda@9123 + - SPRING_CLOUD_NACOS_CONFIG_SERVER-ADDR=http://pmhub-nacos:8848 + - SPRING_CLOUD_NACOS_CONFIG_USERNAME=nacos + - SPRING_CLOUD_NACOS_CONFIG_PASSWORD=AbMt1425@asda@9123 + - SPRING_REDIS_HOST=pmhub-redis + - SPRING_REDIS_PORT=6379 depends_on: - pmhub-redis + - pmhub-nacos links: - pmhub-redis + - pmhub-nacos pmhub-auth: container_name: pmhub-auth build: