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

27 lines
481 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: ""
max_idle_connections: 10
max_open_connections: 40
connection_max_lifetime: 30m
auth:
jwt_secret: ""
access_token_ttl: 2h
refresh_token_ttl: 168h
seed:
admin_username: admin
admin_password: ""
admin_display_name: 平台管理员