# Copy this file to .env and change every value marked CHANGE ME. # Database password (any long random string). CHANGE ME POSTGRES_PASSWORD=change-me-db-password # Signs login sessions. Generate one with: openssl rand -hex 32 CHANGE ME SECRET_KEY=change-me-secret # First administrator, created on the first start only. Change the password after signing in. ADMIN_EMAIL=admin@example.com ADMIN_PASSWORD=change-me-admin ADMIN_NAME=Administrator # Interface language for new users: pt or en DEFAULT_LANGUAGE=pt # Ports on the server. Open http://:8080 in a browser. HTTP_PORT=8080 HTTPS_PORT=8443 # Leave as :80 for plain HTTP on your network. # For HTTPS with Caddy's own certificate on your network, use for example: budget.local # (and set HTTP_PORT=80, HTTPS_PORT=443, COOKIE_SECURE=true) SITE_ADDRESS=:80 COOKIE_SECURE=false SESSION_HOURS=12 # Nightly database backups, written to BACKUP_DIR on the server BACKUP_DIR=./backups BACKUP_TIME=02:30 BACKUP_KEEP_DAYS=30 TZ=Europe/Lisbon