25 lines
407 B
YAML
25 lines
407 B
YAML
app:
|
|
host: 0.0.0.0
|
|
port: 9001
|
|
db:
|
|
driver: postgres
|
|
host: 127.0.0.1
|
|
port: 5432
|
|
username: root
|
|
password: secret
|
|
db_name: management
|
|
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 |