61 lines
2.5 KiB
Plaintext
61 lines
2.5 KiB
Plaintext
|
|
# =============================================================================
|
||
|
|
# 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>
|
||
|
|
|
||
|
|
# =============================================================================
|
||
|
|
# 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
|