Browse Source

调整配置文件

master
liupopo 2 years ago
parent
commit
66c3f1af6f
  1. 7
      warehousing-system/project/wh-manage-xxs/src/main/resources/application-devv.yml
  2. 7
      warehousing-system/project/wh-manage-xxs/src/main/resources/application-pro.yml
  3. 2
      warehousing-system/project/wh-manage-xxs/src/main/resources/application-test.yml
  4. 9
      warehousing-system/project/wh-manage-xxs/src/main/resources/application.yml
  5. 2
      warehousing-system/project/wh-manage-xxs/src/main/resources/logback-spring.xml

7
warehousing-system/project/wh-manage-xxs/src/main/resources/application-devv.yml

@ -1,14 +1,9 @@
spring:
resources:
static-locations: file:D://supervise
cloud:
nacos:
discovery:
server-addr: 127.0.0.1:8848
datasource:
url: jdbc:mysql://127.0.0.1:3306/warehouse2?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&allowMultiQueries=true
username: root
#password: 1LAiGz$t1*Iw
password: root
redis:
database: 3 # Redis数据库索引(默认为0)
@ -19,6 +14,6 @@ spring:
max-idle: 8 #连接池中的最大空闲连接
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
min-idle: 0 # 连接池中的最小空闲连接
password: 123456
password:
port: 6379
timeout: 0 # 连接超时时间(毫秒)

7
warehousing-system/project/wh-manage-xxs/src/main/resources/application-pro.yml

@ -1,15 +1,10 @@
spring:
resources:
static-locations: file:D://supervise
cloud:
nacos:
discovery:
server-addr: 127.0.0.1:8848
datasource:
url: jdbc:mysql://127.0.0.1:3306/warehouse2?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&allowMultiQueries=true
url: jdbc:mysql://127.0.0.1:3306/warehouse_xxs?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&allowMultiQueries=true
username: root
password: 1LAiGz$t1*Iw
#password: root
redis:
database: 3 # Redis数据库索引(默认为0)

2
warehousing-system/project/wh-manage-xxs/src/main/resources/application-test.yml

@ -1,12 +1,10 @@
spring:
resources:
static-locations: file:D://supervise
datasource:
url: jdbc:mysql://39.104.100.138:3306/warehouse_xxs?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&autoReconnect=true&allowMultiQueries=true
username: root
password: yxt_mysql_138
#password: root
redis:
database: 3 # Redis数据库索引(默认为0)

9
warehousing-system/project/wh-manage-xxs/src/main/resources/application.yml

@ -1,5 +1,5 @@
server:
port: 9050
port: 9051
servlet:
context-path: /
multipart:
@ -8,10 +8,11 @@ server:
max-request-size: 200MB
spring:
application:
name: supervise-wm
name: supervise-wm-xxs
profiles:
active: test
#active: pro
active: devv
# active: test
# active: pro
messages:
basename: i18n/messages

2
warehousing-system/project/wh-manage-xxs/src/main/resources/logback-spring.xml

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<property name="log.base" value="logs/supervise-warehousing" />
<property name="log.base" value="logs/supervise-wm-xxs" />
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>

Loading…
Cancel
Save