配置文件更新

This commit is contained in:
ludj
2023-03-17 09:05:42 +08:00
parent f1cc1c832d
commit 48e080d2cb
9 changed files with 43 additions and 169 deletions

View File

@@ -1,21 +1,8 @@
server:
port: 8011
#海亮sqlserver
erp:
sqlserver:
enabled: false
jdbcurl: jdbc:sqlserver://192.168.81.156;DatabaseName=hllg
username: sa
password: root
#配置数据源
spring:
data:
mongodb:
host: 127.0.0.1
port: 27017
database: nlwms
elasticsearch:
repositories:
enabled: true
@@ -79,7 +66,6 @@ spring:
redis:
#数据库索引
database: ${REDIS_DB:1}
#host: ${REDIS_HOST:127.0.0.1}
host: ${REDIS_HOST:localhost}

View File

@@ -2,8 +2,6 @@ server:
port: 8011
#配置数据源
spring:
profiles:
prod
datasource:
druid:
db-type: com.alibaba.druid.pool.DruidDataSource
@@ -55,11 +53,6 @@ spring:
wall:
config:
multi-statement-alagvslow: true
data:
mongodb:
host: 127.0.0.1
port: 27017
database: nlacs
redis:
#数据库索引

View File

@@ -55,11 +55,6 @@ spring:
wall:
config:
multi-statement-alagvslow: true
data:
mongodb:
host: 127.0.0.1
port: 27017
database: logdb
redis:
#数据库索引
database: ${REDIS_DB:8}