# ============================================================================= # MedAssist-ng Configuration # ============================================================================= # Copy this file to .env and adjust values for your setup # ============================================================================= NODE_ENV=production PORT=3000 DATABASE_URL=file:./data/medassist-ng.db CORS_ORIGINS=http://localhost:4174 LOG_LEVEL=info # Timezone for scheduled reminders (e.g., Europe/Berlin, America/New_York) TZ=Europe/Berlin # Auth - CHANGE THESE! Generate with: openssl rand -hex 32 JWT_SECRET=CHANGE_ME_generate_with_openssl_rand_hex_32 REFRESH_SECRET=CHANGE_ME_generate_with_openssl_rand_hex_32 COOKIE_SECRET=CHANGE_ME_generate_with_openssl_rand_hex_32 ACCESS_TOKEN_TTL_MIN=15 REFRESH_TOKEN_TTL_DAYS=14 # SMTP (optional - for email notifications) SMTP_HOST= SMTP_PORT=587 SMTP_USER= SMTP_PASS= SMTP_FROM= SMTP_SECURE=false # Admin settings default value only - frontend settings (stored in settings.json) take precedence REMINDER_DAYS_BEFORE=7 # Admin settings (not editable in UI) REMINDER_HOUR=6 # 24h format (0-23), e.g. 6 = 6:00 AM, 18 = 6:00 PM REMINDER_MINUTES_BEFORE=15 # Minutes before intake to send reminder EXPIRY_WARNING_DAYS=30 # Days before expiry to show yellow warning