projectx/configs/config.dev.yaml
2025-06-13 17:23:16 +08:00

30 lines
513 B
YAML

app:
host: 0.0.0.0
port: 9001
prod: false
db:
host: 127.0.0.1
port: 5432
username: root
password: secret
db_name: management
max_idle_conns: 10
max_open_conns: 100
conn_max_lifetime: 7h
conn_max_idle_time: 30m
log_mode: false
redis:
host: 127.0.0.1
port: 6379
password: secret
db: 2
jwt:
signing_key: ec355d26-cca6-4347-a725-3c203ea1
expires_time: 15m
refresh_time: 24h
captcha:
open_captcha: 10
open_captcha_timeout: 120
img_width: 120
img_height: 44
key_long: 4