FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
ScalingExamples & Reference
Environment Config Examples
DocsscalingExamples & ReferenceEnvironment Config Examples
GitHub Live Sync

Environment Config Examples

Live technical documentation fetched from GitHub repository omghante/metapilot/docs/examples/env-configs.md

Environment Configurations Reference

Sample environment files for development, staging, and production environments.

Local Development Environment (
.env
)

env
SECRET_KEY=django-insecure-dev-key-change-in-production
DEBUG=True
ALLOWED_HOSTS=localhost,127.0.0.1
FERNET_KEY=KHS39TFFYZFLCfUNv1NNbPRZN2C1w7FKYmsl4ZcJ-Ok=
DATABASE_URL=
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/0
CHANNEL_REDIS_URL=redis://localhost:6379/1

Production Environment (
.env.production
)

env
SECRET_KEY=e83a9f12c... (64 chars)
DEBUG=False
ALLOWED_HOSTS=api.metapilot.in
FERNET_KEY=Fqnv8DXm5njudf6pI5xwY8-3zSYFVaxbKTkUf3X_vAQ=
DATABASE_URL=postgresql://metapilot_user:secure_pass@postgres.internal:5432/metapilot_prod
CELERY_BROKER_URL=rediss://default:password@redis.internal:6379/0
CHANNEL_REDIS_URL=rediss://default:password@redis.internal:6379/1