agepoly-events/config.example.yml
Antoine Pelletier 52363d59ac first commit
2026-07-30 06:26:31 +02:00

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