generated from erangel1/generic-template
41 lines
1.3 KiB
Bash
41 lines
1.3 KiB
Bash
# =============================================================
|
|
# LabGraph Environment Variables
|
|
# Copy this file to .env and fill in all required values.
|
|
# Values marked (required) have no default and MUST be set.
|
|
# =============================================================
|
|
|
|
# --- Django ---
|
|
DJANGO_SETTINGS_MODULE=config.settings.development
|
|
SECRET_KEY=change-me-generate-with-python-secrets-token-urlsafe-50
|
|
DEBUG=True
|
|
ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0
|
|
|
|
# --- PostgreSQL (used by both docker-compose and Django) ---
|
|
POSTGRES_DB=labgraph
|
|
POSTGRES_USER=labgraph
|
|
POSTGRES_PASSWORD=changeme-required
|
|
|
|
# --- Database URL (used by django-environ) ---
|
|
# Format: postgres://USER:PASSWORD@HOST:PORT/DBNAME
|
|
DATABASE_URL=postgres://labgraph:changeme-required@db:5432/labgraph
|
|
|
|
# --- Redis ---
|
|
# Note: URL format uses colon before password, no username: redis://:PASSWORD@host:port/db
|
|
REDIS_PASSWORD=changeme-required
|
|
REDIS_URL=redis://:changeme-required@redis:6379/0
|
|
|
|
# --- Celery Broker ---
|
|
CELERY_BROKER_URL=redis://:changeme-required@redis:6379/0
|
|
|
|
# --- CORS ---
|
|
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
|
|
|
|
# --- Flower (Celery monitoring dashboard) ---
|
|
FLOWER_USER=admin
|
|
FLOWER_PASSWORD=changeme-required
|
|
|
|
# --- Discovery Credentials (Phase 2) ---
|
|
PROXMOX_URL=
|
|
PROXMOX_TOKEN_NAME=
|
|
PROXMOX_TOKEN_VALUE=
|