mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-21 22:34:28 +08:00
(improvement)(project)Introduce aibi-env.sh script to simplify user settings. (improvement)(project)Introduce aibi-env.sh script to simplify user settings.
13 lines
604 B
YAML
13 lines
604 B
YAML
spring:
|
|
datasource:
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
url: jdbc:mysql://${S2_DB_HOST:localhost}:${S2_DB_PORT:3306}/${S2_DB_DATABASE:mysql}?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
|
|
username: ${S2_DB_USER:root}
|
|
password: ${S2_DB_PASSWORD:}
|
|
sql:
|
|
init:
|
|
mode: always
|
|
username: ${S2_DB_USER:root}
|
|
password: ${S2_DB_PASSWORD:}
|
|
schema-locations: classpath:db/schema-mysql.sql,classpath:db/schema-mysql-demo.sql
|
|
data-locations: classpath:db/data-mysql.sql,classpath:db/data-mysql-demo.sql |