完善配置

This commit is contained in:
2023-09-06 22:54:43 +08:00
parent 440e49d78b
commit 8bd0418407
3 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
logging:
file:
name: ${spring.application.name}.log
@@ -10,3 +11,5 @@ logging:
threshold:
file: info
console: info
server:
port: 7458

View File

@@ -1,3 +1,4 @@
logging:
file:
name: ${spring.application.name}.log
@@ -10,3 +11,5 @@ logging:
threshold:
file: info
console: info
server:
port: 7457

View File

@@ -45,7 +45,7 @@ spring:
druid:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://${PG_HOST:localhost}:${PG_PORT:5432}/coal
url: jdbc:postgresql://${PG_HOST:localhost}:${PG_PORT:5432}/${PG_DATABASE:coal}
username: ${PG_USER:postgres}
password: ${PG_PASSWORD:abc@123}
initial-size: 10
@@ -71,6 +71,7 @@ spring:
host: ${REDIS_HOST:localhost}
port: ${REDIS_PORT:6379}
password: ${REDIS_PASSWORD:abc@123}
database: ${REDIS_DATABASE:0}
cache: