feat: 新增项目配置
This commit is contained in:
18
src/main/resources/application-dev.yml
Normal file
18
src/main/resources/application-dev.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
spring:
|
||||
datasource:
|
||||
dynamic:
|
||||
datasource:
|
||||
master:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
password: Xxs123456
|
||||
url: jdbc:mysql://192.168.1.3:4306/material_manage?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&useInformationSchema=true
|
||||
username: root
|
||||
redis:
|
||||
database: 4
|
||||
host: 127.0.0.1
|
||||
password: ''
|
||||
port: 6379
|
||||
|
||||
main:
|
||||
supervise:
|
||||
dispatcher-role-id: 1677946127227682818,0
|
18
src/main/resources/application-prod.yml
Normal file
18
src/main/resources/application-prod.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
spring:
|
||||
datasource:
|
||||
dynamic:
|
||||
datasource:
|
||||
master:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
password: lyh123456!
|
||||
url: jdbc:mysql://localhost:3306/material_manage?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&useInformationSchema=true
|
||||
username: root
|
||||
redis:
|
||||
database: 1
|
||||
host: 127.0.0.1
|
||||
password: ''
|
||||
port: 6379
|
||||
|
||||
main:
|
||||
supervise:
|
||||
dispatcher-role-id: 1677946127227682818,0
|
18
src/main/resources/application-test.yml
Normal file
18
src/main/resources/application-test.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
spring:
|
||||
datasource:
|
||||
dynamic:
|
||||
datasource:
|
||||
master:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
password: Xxs123456
|
||||
url: jdbc:mysql://xxs1110.local:4306/material_manage?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&useInformationSchema=true
|
||||
username: root
|
||||
redis:
|
||||
database: 4
|
||||
host: xxs1110.local
|
||||
password: 'Xxs123456'
|
||||
port: 6379
|
||||
|
||||
main:
|
||||
supervise:
|
||||
dispatcher-role-id: 1677946127227682818,0
|
@@ -110,7 +110,7 @@ spring:
|
||||
locale: zh_CN
|
||||
time-zone: GMT+8
|
||||
profiles:
|
||||
active: local
|
||||
active: dev
|
||||
redis:
|
||||
database: 1
|
||||
host: 127.0.0.1
|
||||
@@ -127,3 +127,15 @@ spring:
|
||||
multipart:
|
||||
max-file-size: 100MB
|
||||
max-request-size: 100MB
|
||||
application:
|
||||
name: material-manage-service
|
||||
snowy:
|
||||
config:
|
||||
common:
|
||||
backend-url: http://localhost:8192
|
||||
front-url: http://localhost:8181
|
||||
ten:
|
||||
default-ten-id: -1
|
||||
enabled: true
|
||||
ignore-table-names: ''
|
||||
ten-id-column-name: TENANT_ID
|
Reference in New Issue
Block a user