Files
crr-shifts/.env.example
T
2026-10-06 10:30:01 +01:00

30 lines
788 B
Bash

APP_NAME=Contínuos CRR
SECRET_KEY=replace-with-a-long-random-value
DATABASE_URL=sqlite:///./data/bar_rota.db
BASE_URL=http://localhost:8000
PORT=8000
# Host directory bind-mounted at /app/data (used by docker compose only).
DATA_DIR=./data
# Initial admin is created only if no users exist.
INITIAL_ADMIN_NAME=Administrador
INITIAL_ADMIN_USERNAME=admin
INITIAL_ADMIN_EMAIL=admin@example.com
INITIAL_ADMIN_PASSWORD=change-me-now
# SMTP is optional. If SMTP_HOST is blank, notifications are recorded in the DB
# but no email is sent.
SMTP_HOST=
SMTP_PORT=587
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_FROM=bar-rota@example.com
SMTP_STARTTLS=true
# Reminder command looks this many days ahead.
REMINDER_DAYS_AHEAD=1
# Set true when the app is served only over HTTPS.
SESSION_HTTPS_ONLY=false