Dashboard

Environment Variables

Complete reference for all environment variables used by Fluxgate AI.

Production Security

Always change SECRET_KEY, DATABASE_URL passwords, and restrict CORS_ORIGINS before deploying to production. Never use default values in production!

All Variables

VariableDefaultDescription
DATABASE_URLpostgresql://acp:acp@timescaledb:5432/acpPostgreSQL/TimescaleDB connection string
REDIS_URLredis://redis:6379/0Redis connection URL for caching and sessions
KAFKA_BROKERkafka:9092Kafka broker address for event bus
SECRET_KEYchange-me-in-productionSecret key for JWT tokens and encryption. MUST change in production!
API_PORT8000Port for the FastAPI server
GATEWAY_PORT8080Port for the Go gateway
DASHBOARD_PORT3000Port for the Next.js dashboard
OPENAI_API_KEY(none)OpenAI API key for GPT models
ANTHROPIC_API_KEY(none)Anthropic API key for Claude models
GOOGLE_API_KEY(none)Google AI API key for Gemini models
CELERY_BROKER_URLredis://redis:6379/1Celery task broker (Redis)
CELERY_RESULT_BACKENDredis://redis:6379/2Celery result storage
LOG_LEVELINFOLogging level: DEBUG, INFO, WARNING, ERROR
CORS_ORIGINS*Allowed CORS origins. Restrict in production.
MAX_CONCURRENT_RUNS50Maximum concurrent agent runs
VECTOR_DIMENSIONS1536Embedding vector dimensions for pgvector
RATE_LIMIT_PER_MINUTE60Default API rate limit per key per minute
ENCRYPTION_KEY(auto-generated)Key for encrypting secrets vault