Browse Source

fix bug

release
xiaohanzi 3 years ago
parent
commit
0d3e675603
2 changed files with 5 additions and 3 deletions
  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 View File

@@ -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 View File

@@ -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…
Cancel
Save