25 lines
729 B
YAML
25 lines
729 B
YAML
# Copy to config.yml (gitignored) and adapt.
|
|
# Every value can also be given as an environment variable, e.g. APP__SERVER__PORT=3000
|
|
server:
|
|
address: 0.0.0.0
|
|
port: 3000
|
|
|
|
postgres:
|
|
host: localhost
|
|
port: 5432
|
|
user: postgres
|
|
password: postgres
|
|
name: events
|
|
|
|
auth:
|
|
# Signs the session cookie. Use a long random string in production.
|
|
secret: change-me-to-a-long-random-string
|
|
# Optional: ensured to exist (and to be admin) on startup, so you always have an
|
|
# account to log in with (there is no password: login is by email only).
|
|
dev_user:
|
|
firstname: Dev
|
|
name: User
|
|
email: dev@example.com
|
|
|
|
# Directory containing the built frontend (frontend/dist after `npm run build`)
|
|
frontend_dir: frontend/dist
|