16 lines
489 B
YAML
16 lines
489 B
YAML
# Address to bind
|
|
address: "0.0.0.0:5000"
|
|
# Disable registration
|
|
no_registration: false
|
|
# Database folder path; empty value means current directory
|
|
database_path: "/etc/standardfile"
|
|
# Secret key used for JWT authenthentication (before 004 and 20200115)
|
|
secret_key: ¯\_(ツ)_/¯
|
|
# Session used for authentication (since 004 and 20200115)
|
|
session:
|
|
secret: ¯\_(ツ)_/¯
|
|
access_token_ttl: 1440h # 60 days expressed in Golang's time.Duration format
|
|
refresh_token_ttl: 8760h # 1 year
|
|
|
|
|