MOPC-App/docker/.env.production

69 lines
2.8 KiB
Plaintext
Raw Normal View History

# =============================================================================
# MOPC Platform - Production Environment Variables
# =============================================================================
# Copy this file to docker/.env and fill in real values:
# cp docker/.env.production docker/.env
#
# Generate secrets with:
# openssl rand -base64 32
# =============================================================================
# DATABASE
# =============================================================================
DB_PASSWORD=CHANGE_ME_use_openssl_rand
# =============================================================================
# AUTHENTICATION (NextAuth.js / Auth.js)
# =============================================================================
NEXTAUTH_URL=https://portal.monaco-opc.com
NEXTAUTH_SECRET=CHANGE_ME_use_openssl_rand
# =============================================================================
# FILE STORAGE (MinIO - external stack)
# =============================================================================
# Internal endpoint (server-to-server, within Docker host)
MINIO_ENDPOINT=http://localhost:9000
# Public endpoint for browser-accessible pre-signed URLs
# Set this when MinIO is behind a reverse proxy
# MINIO_PUBLIC_ENDPOINT=https://storage.monaco-opc.com
MINIO_ACCESS_KEY=CHANGE_ME
MINIO_SECRET_KEY=CHANGE_ME
MINIO_BUCKET=mopc-files
# =============================================================================
# EMAIL (SMTP via Poste.io - external stack)
# =============================================================================
SMTP_HOST=localhost
SMTP_PORT=587
SMTP_USER=noreply@monaco-opc.com
SMTP_PASS=CHANGE_ME
EMAIL_FROM=MOPC Platform <noreply@monaco-opc.com>
# =============================================================================
# POSTE.IO ADMIN API (for email password management)
# =============================================================================
POSTE_API_URL=https://mail.monaco-opc.com
POSTE_ADMIN_EMAIL=admin@monaco-opc.com
POSTE_ADMIN_PASSWORD=CHANGE_ME
POSTE_MAIL_DOMAIN=monaco-opc.com
# =============================================================================
# AI (OpenAI - optional)
# =============================================================================
OPENAI_API_KEY=
OPENAI_MODEL=gpt-4o
# =============================================================================
# DOCKER REGISTRY (Gitea container registry)
# =============================================================================
# The Gitea registry URL where the CI pushes built images
# Example: gitea.example.com/your-org
REGISTRY_URL=code.letsbe.solutions/letsbe
# =============================================================================
# APPLICATION
# =============================================================================
MAX_FILE_SIZE=524288000