mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
完善配置
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
|
||||
logging:
|
||||
file:
|
||||
name: ${spring.application.name}.log
|
||||
@@ -9,4 +10,6 @@ logging:
|
||||
total-size-cap: 1GB
|
||||
threshold:
|
||||
file: info
|
||||
console: info
|
||||
console: info
|
||||
server:
|
||||
port: 7458
|
||||
@@ -1,3 +1,4 @@
|
||||
|
||||
logging:
|
||||
file:
|
||||
name: ${spring.application.name}.log
|
||||
@@ -9,4 +10,6 @@ logging:
|
||||
total-size-cap: 1GB
|
||||
threshold:
|
||||
file: info
|
||||
console: info
|
||||
console: info
|
||||
server:
|
||||
port: 7457
|
||||
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user