614a496256
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
39 lines
961 B
Bash
39 lines
961 B
Bash
# Oikos - Environment Variables
|
|
# Copy this file to .env and adjust the values.
|
|
|
|
# Server
|
|
PORT=3000
|
|
NODE_ENV=production
|
|
|
|
# Session
|
|
SESSION_SECRET=REPLACE_WITH_A_LONG_RANDOM_STRING
|
|
# SESSION_SECURE=false # Only set when not using HTTPS/reverse proxy (e.g. direct localhost)
|
|
|
|
# Database (SQLite/SQLCipher)
|
|
DB_PATH=/data/oikos.db
|
|
DB_ENCRYPTION_KEY=REPLACE_WITH_A_STRONG_ENCRYPTION_KEY
|
|
|
|
# Weather (OpenWeatherMap)
|
|
OPENWEATHER_API_KEY=YOUR_API_KEY
|
|
OPENWEATHER_CITY=Berlin
|
|
OPENWEATHER_UNITS=metric
|
|
OPENWEATHER_LANG=de
|
|
|
|
# Google Calendar (optional)
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
GOOGLE_REDIRECT_URI=https://your-domain.com/api/v1/calendar/google/callback
|
|
|
|
# Apple Calendar CalDAV (optional)
|
|
APPLE_CALDAV_URL=https://caldav.icloud.com
|
|
APPLE_USERNAME=
|
|
APPLE_APP_SPECIFIC_PASSWORD=
|
|
|
|
# Calendar sync interval in minutes (default: 15)
|
|
SYNC_INTERVAL_MINUTES=15
|
|
|
|
# Security
|
|
RATE_LIMIT_WINDOW_MS=60000
|
|
RATE_LIMIT_MAX_ATTEMPTS=5
|
|
RATE_LIMIT_BLOCK_DURATION_MS=900000
|