Files
iqudo-top1/configs/config.yml
2026-08-06 21:52:03 +08:00

27 lines
525 B
YAML

app:
name: iqudo-top1
env: development
server:
host: 127.0.0.1
port: 8080
read_timeout: 10s
write_timeout: 20s
shutdown_timeout: 10s
database:
host: 127.0.0.1
port: 3306
name: iqudo_top1
user: root
password: root1234
max_idle_connections: 10
max_open_connections: 40
connection_max_lifetime: 30m
auth:
jwt_secret: local-development-secret-change-me
access_token_ttl: 2h
refresh_token_ttl: 168h
seed:
admin_username: admin
admin_password: admin123
admin_display_name: 平台管理员