mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-22 14:54:21 +08:00
28 lines
548 B
YAML
28 lines
548 B
YAML
server:
|
|
servlet:
|
|
context-path:
|
|
port: 9081
|
|
|
|
spring:
|
|
h2:
|
|
console:
|
|
path: /h2-console/semantic
|
|
# enabled web
|
|
enabled: true
|
|
datasource:
|
|
driver-class-name: org.h2.Driver
|
|
url: jdbc:h2:mem:semantic;DATABASE_TO_UPPER=false
|
|
username: root
|
|
password: semantic
|
|
schema: classpath:db/semantic-schema-h2.sql
|
|
data: classpath:db/semantic-data-h2.sql
|
|
|
|
authentication:
|
|
enable: true
|
|
exclude:
|
|
path: /api/auth/user/register,/api/auth/user/login
|
|
token:
|
|
http:
|
|
header:
|
|
key: Authorization
|