🎨 Improving structure / format of the code. close #I4557T 配置文件中环境变量中划线下划线共同使用

This commit is contained in:
lht 2021-08-12 16:30:06 +08:00
parent d9ed06527d
commit 5a79b57c65
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ server:
db: db:
num: 1 num: 1
user: ${MYSQL-USER:root} user: ${MYSQL_USER:root}
password: ${MYSQL-PWD:root} password: ${MYSQL_PWD:root}
url: url:
0: jdbc:mysql://${MYSQL_HOST:pig-mysql}:${MYSQL_PORT:3306}/${MYSQL_DB:pig_config}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true 0: jdbc:mysql://${MYSQL_HOST:pig-mysql}:${MYSQL_PORT:3306}/${MYSQL_DB:pig_config}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true