This repository has been archived on 2021-10-25. You can view files and clone it, but cannot push or open issues/pull-requests.
2021-08-30 14:27:54 +02:00
|
|
|
default:
|
|
|
|
address: "0.0.0.0"
|
|
|
|
ports: 8000
|
|
|
|
|
|
|
|
debug:
|
|
|
|
keep_alive: 5
|
|
|
|
read_timeout: 5
|
|
|
|
write_timeout: 5
|
|
|
|
log_level: "normal"
|
|
|
|
limits:
|
|
|
|
forms: 32768
|
|
|
|
|
|
|
|
admin_user: "admin"
|
|
|
|
admin_pass: "password"
|
2021-08-30 15:28:01 +02:00
|
|
|
jwt:
|
|
|
|
key: "secret"
|
|
|
|
refresh_token_size: 64
|
|
|
|
# Just 5 seconds for debugging
|
2021-09-01 16:18:48 +02:00
|
|
|
refresh_token_expire: 60
|
2021-08-30 14:27:54 +02:00
|
|
|
|
|
|
|
databases:
|
|
|
|
postgres_rb:
|
|
|
|
url: "postgres://rb:rb@localhost:5432/rb"
|
2021-09-13 22:15:38 +02:00
|
|
|
|
|
|
|
# This config is just used for testing, you should change it when deploying
|
|
|
|
release:
|
|
|
|
keep_alive: 5
|
|
|
|
read_timeout: 5
|
|
|
|
write_timeout: 5
|
|
|
|
log_level: "normal"
|
|
|
|
limits:
|
|
|
|
forms: 32768
|
|
|
|
|
|
|
|
admin_user: "admin"
|
|
|
|
admin_pass: "password"
|
|
|
|
jwt:
|
|
|
|
key: "secret"
|
|
|
|
refresh_token_size: 64
|
|
|
|
# Just 5 seconds for debugging
|
|
|
|
refresh_token_expire: 60
|
|
|
|
|
|
|
|
databases:
|
|
|
|
postgres_rb:
|
|
|
|
url: "postgres://rb:rb@localhost:5432/rb"
|