Core settings
COMPOSE_PROJECT_NAMEDocker Compose project name.
POSTGRES_USER / POSTGRES_PASSWORD / POSTGRES_DBLocal PostgreSQL credentials for the development stack.
DATABASE_URL or INFRAWATCH_DATABASE_URLBackend database URL. When configured, PostgreSQL-backed repositories are used.
VITE_API_BASE_URLFrontend API base path, typically /api behind Nginx.
INFRAWATCH_ALLOW_MOCK_OBSERVABILITYAllows fallback sample observability data when live sources are unavailable.
REDIS_URL / INFRAWATCH_REDIS_URLRedis connection string.
REDIS_CACHE_TTL / INFRAWATCH_REDIS_CACHE_TTLShort cache TTL for repeated Prometheus dashboard queries.
Service ports
FRONTEND_PORTDefault 3000.
BACKEND_PORTDefault 8000.
POSTGRES_PORTDefault 5432.
PROMETHEUS_PORTDefault 9090.
GRAFANA_PORTDefault 3001.
LOKI_PORTDefault 3100.
ALLOY_PORTDefault 12345.
ALERTMANAGER_PORTDefault 9093.
Secret handling
Never commit real .env files, kubeconfig files, Terraform state, private keys, DockerHub tokens, GitHub tokens, SMTP credentials, or webhook URLs.