fetch_ml/deployments/env.prod.example

28 lines
670 B
Text

# Production Environment Variables
# Copy this file to .env and modify as needed
# Grafana (if using)
GRAFANA_ADMIN_PASSWORD=CHANGE_ME_SECURE_PASSWORD
# API Configuration
LOG_LEVEL=warn
# TLS (production should use CA-signed certs)
TLS_CERT_PATH=/app/ssl/cert.pem
TLS_KEY_PATH=/app/ssl/key.pem
# Caddy (TLS/WSS termination)
FETCHML_DOMAIN=ml.example.com
CADDY_EMAIL=admin@example.com
# Production-specific
ENVIRONMENT=production
DEBUG=false
# Security
API_KEY=CHANGE_ME_SECURE_API_KEY
ALLOWED_ORIGINS=https://yourdomain.com
# External services (if applicable)
EXTERNAL_REDIS_URL=redis://external-redis:6379
EXTERNAL_PROMETHEUS_URL=http://external-prometheus:9090