2023-02-11 17:23:57 +01:00
|
|
|
---
|
|
|
|
app:
|
|
|
|
# The secret key, used for security protections
|
2023-02-11 20:25:42 +01:00
|
|
|
# This MUST be a secret, very long (40+ characters), random string
|
2023-02-11 17:23:57 +01:00
|
|
|
secret_key: "!!!insert random data!!!"
|
|
|
|
# The port for the asgi application
|
|
|
|
# This should be blocked by the firewall
|
|
|
|
application_port: 8001
|
|
|
|
# Used for auto-logout, in seconds
|
|
|
|
session_cookie_age: 600
|
|
|
|
# Interval for automatic session clearing, in minutes
|
|
|
|
session_clear_interval: 120
|
|
|
|
# The default and fallback language, currently only de and en are supported.
|
|
|
|
language_code: "en"
|
|
|
|
# Your timezone
|
|
|
|
timezone: "CET"
|
|
|
|
# Specify the suffix for your currency
|
|
|
|
currency_suffix: "$"
|
|
|
|
# Enable/Disable password validation
|
|
|
|
# (numeric PINs are NOT valid when this is set to true)
|
|
|
|
password_validation: true
|
|
|
|
db:
|
|
|
|
# Database configuration
|
|
|
|
database: "drinks"
|
|
|
|
user: "drinks"
|
|
|
|
password: "insert password"
|
|
|
|
host: "127.0.0.1"
|
|
|
|
port: 5432
|
|
|
|
caddy:
|
2023-02-11 18:04:52 +01:00
|
|
|
# Webserver settings
|
|
|
|
host: "localhost"
|
2023-02-11 17:23:57 +01:00
|
|
|
http_port: 80
|
|
|
|
https_port: 443
|
|
|
|
logs:
|
|
|
|
# Logfile paths
|
|
|
|
caddy: "./data/logs/caddy.log"
|
|
|
|
http_access: "./data/logs/http-access.log"
|
|
|
|
application: "./data/logs/application.log"
|