738513a3ba
- Updated environment variables in .env.example for production setup. - Changed project references from MedAssist to MedAssist-ng in documentation and code. - Adjusted Docker configurations for new image names and ports. - Removed deprecated push-images.sh script and added docker-compose.dev.yml for development. - Updated translation files to reflect new project name. - Ensured all email notifications and headers reflect the new branding.
35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# =============================================================================
|
|
# 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
|
|
|
|
# Rate limits
|
|
EMAILS_PER_DAY=3
|
|
|
|
# Default value only - frontend settings (stored in settings.json) take precedence
|
|
REMINDER_DAYS_BEFORE=7 |