From 0d3e675603df5b777baa47b258a02df4b22aef1d Mon Sep 17 00:00:00 2001 From: xiaohanzi Date: Tue, 28 Sep 2021 10:10:20 +0800 Subject: [PATCH] fix bug --- .../src/main/resources/yml-config/service-org-dev.yml | 4 ++-- service-org/src/main/resources/bootstrap.yml | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/config-server/src/main/resources/yml-config/service-org-dev.yml b/config-server/src/main/resources/yml-config/service-org-dev.yml index 0b0670d..8d40bbb 100644 --- a/config-server/src/main/resources/yml-config/service-org-dev.yml +++ b/config-server/src/main/resources/yml-config/service-org-dev.yml @@ -13,8 +13,8 @@ logging: #DataSource配置,默认主数据源 spring: -# profiles: -# include: rabbitmq + profiles: + include: rabbitmq datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.jdbc.Driver diff --git a/service-org/src/main/resources/bootstrap.yml b/service-org/src/main/resources/bootstrap.yml index a6b8631..beb78d9 100644 --- a/service-org/src/main/resources/bootstrap.yml +++ b/service-org/src/main/resources/bootstrap.yml @@ -3,7 +3,9 @@ spring: name: service-org cloud: config: - uri: http://config:1001/ + #docker config + #uri: http://config:1001/ + uri: http://localhost:1001 profile: dev name: service-org server: