-
Notifications
You must be signed in to change notification settings - Fork 9
/
application.yml
48 lines (47 loc) · 1.19 KB
/
application.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
server:
port: 8084
address: 0.0.0.0
servlet:
context-path: /
spring:
application:
name: woodwhales-music
thymeleaf:
cache: false
datasource:
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DATABASE:open_music}?serverTimezone=Asia/Shanghai&useUnicode=true&allowMultiQueries=true&characterEncoding=utf8&useSSL=false
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL_USER:root}
password: ${MYSQL_PASSWORD:root1234}
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
profiles:
active: '@profiles.active@'
sql:
init:
mode: always
schema-locations: classpath:/init.sql
logging:
level:
org.woodwhales.music: debug
music:
link:
# 链接来源:0-github,1-alist
source: 1
# 音乐网站首页
site: "https://music.icoders.cn/"
author:
# 作者名称
name: "woodwhales"
# 作者网站
website: "https://www.woodwhales.cn"
github:
# 是否展示 GitHub Corners
show: true
# github 链接
url: "https://github.com/woodwhales/woodwhales-music"
system:
init:
# 后台系统admin账号的登录密码,每次初始化都会初始化
password: ${SYSTEM_INIT_PASSWORD:admin}