瀏覽代碼

fix bug

release
xiaohanzi 3 年之前
父節點
當前提交
0d3e675603
共有 2 個檔案被更改,包括 5 行新增3 行删除
  1. +2
    -2
      config-server/src/main/resources/yml-config/service-org-dev.yml
  2. +3
    -1
      service-org/src/main/resources/bootstrap.yml

+ 2
- 2
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


+ 3
- 1
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:

Loading…
取消
儲存