refactor: rename project to MedAssist-ng and update configurations
- 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.
This commit is contained in:
+17
-16
@@ -1,21 +1,26 @@
|
||||
NODE_ENV=development
|
||||
# =============================================================================
|
||||
# MedAssist-ng Configuration
|
||||
# =============================================================================
|
||||
# Copy this file to .env and adjust values for your setup
|
||||
# =============================================================================
|
||||
|
||||
NODE_ENV=production
|
||||
PORT=3000
|
||||
DATABASE_URL=file:./data/medassist.db
|
||||
CORS_ORIGINS=http://localhost:4173,http://localhost:5173
|
||||
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 (use strong secrets; min 10 chars required)
|
||||
JWT_SECRET=change-me-now-with-stronger-secret
|
||||
REFRESH_SECRET=change-me-refresh-strong-secret
|
||||
COOKIE_SECRET=change-me-cookie-strong-secret
|
||||
CSRF_SECRET=change-me-csrf-strong-secret
|
||||
# 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)
|
||||
# SMTP (optional - for email notifications)
|
||||
SMTP_HOST=
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=
|
||||
@@ -23,12 +28,8 @@ SMTP_PASS=
|
||||
SMTP_FROM=
|
||||
SMTP_SECURE=false
|
||||
|
||||
# Planner limits
|
||||
# Rate limits
|
||||
EMAILS_PER_DAY=3
|
||||
|
||||
# Container registry (used by scripts/push-images.sh)
|
||||
REGISTRY_HOST=git.danielvolz.org
|
||||
REGISTRY_TOKEN=
|
||||
REGISTRY_USER= # optional; defaults to token if empty
|
||||
PROJECT_PATH=daniel/medassist
|
||||
# IMAGE_TAG can stay empty; override via -v flag
|
||||
# Default value only - frontend settings (stored in settings.json) take precedence
|
||||
REMINDER_DAYS_BEFORE=7
|
||||
Reference in New Issue
Block a user