| # Example environment variables |
| # |
| # Copy this file and fill in your actual values for local development. |
| # Then use the `CONFIG_ENV_FILE` environment variable to specify the |
| # path to the `.env` file to load environment variables from. |
| # |
| # For production, use actual environment variables or a secret manager. |
| |
| APP_BASE_URL="http://localhost:8080" # Base URL where the server will be available (in use for the Google Calendar webhook) |
| |
| # Google Calendar Integration |
| GOOGLE_CALENDAR_ID="primary" # Or your specific calendar ID |
| WEBHOOK_VERIFICATION_TOKEN="your-super-secret-verification-token" # Generate a strong random token |
| GOOGLE_REFRESH_TOKEN="" # Fill this in after running oauthcli |
| GOOGLE_CLIENT_ID="YOUR_GOOGLE_CLIENT_ID.apps.googleusercontent.com" # From Google Cloud Console |
| GOOGLE_CLIENT_SECRET="YOUR_GOOGLE_CLIENT_SECRET" # From Google Cloud Console |
| |
| # Application Logic |
| DEFAULT_LOCATION_CODE="HOM" |
| FUTURE_HORIZON_DAYS="90" |
| ENABLE_EMAIL_CONFIRMATIONS="false" |
| ENABLE_CALENDAR_SUBSCRIPTION="true" |
| ENABLE_HORIZON_MAINTENANCE="true" |
| HORIZON_MAINTENANCE_CRON="0 2 * * *" |
| ENABLE_PERIODIC_FULL_SYNC="false" |
| PERIODIC_FULL_SYNC_CRON="0 3 * * SUN" |
| CALENDAR_SUBSCRIPTION_MAINTENANCE_CRON="0 1 * * *" |
| |
| # Database |
| DB_CONNECTION_STRING="postgres://user:password@localhost:5432/zenithplanner?sslmode=disable" |
| |
| # SMTP Email |
| SMTP_HOST="smtp.example.com" |
| SMTP_PORT="587" |
| SMTP_USER="your_smtp_user" |
| SMTP_PASSWORD="your_smtp_password" |
| SMTP_SENDER_ADDRESS="zenithplanner@example.com" |
| RECIPIENT_EMAIL_ADDRESS="your_email@example.com" |
| |
| # vim:ft=sh |