generated from erangel1/generic-template
initial commit. phase 1 complete
This commit is contained in:
+34
-9
@@ -1,15 +1,40 @@
|
||||
# Django Settings
|
||||
# =============================================================
|
||||
# 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
|
||||
SECRET_KEY=O+6Pr9xDz5/BxDMVxGtivAMkOHbRaAHLA5kc7P05a/4=
|
||||
ALLOWED_HOSTS=localhost,127.0.0.1
|
||||
ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0
|
||||
|
||||
# Database
|
||||
DATABASE_URL=postgres://postgres:password@db:5432/labgraph
|
||||
# --- PostgreSQL (used by both docker-compose and Django) ---
|
||||
POSTGRES_DB=labgraph
|
||||
POSTGRES_USER=labgraph
|
||||
POSTGRES_PASSWORD=changeme-required
|
||||
|
||||
# Redis & Celery
|
||||
REDIS_URL=redis://redis:6379/0
|
||||
# --- Database URL (used by django-environ) ---
|
||||
# Format: postgres://USER:PASSWORD@HOST:PORT/DBNAME
|
||||
DATABASE_URL=postgres://labgraph:changeme-required@db:5432/labgraph
|
||||
|
||||
# Discovery Credentials (Optional for Phase 1)
|
||||
# --- 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=
|
||||
PROXMOX_TOKEN_VALUE=
|
||||
|
||||
Reference in New Issue
Block a user