34 lines
2.4 KiB
Bash
34 lines
2.4 KiB
Bash
# ─── Database ─────────────────────────────────────────────────────────────────
|
|
# Routes through PgBouncer (connection pooler) → westworld-postgres
|
|
DATABASE_URL=postgresql://admin:Westworld@2026@westworld-pgbouncer:5432/westworld
|
|
POSTGRES_USER=admin
|
|
POSTGRES_PASSWORD=Westworld@2026
|
|
POSTGRES_DB=westworld
|
|
|
|
# ─── Redis ────────────────────────────────────────────────────────────────────
|
|
REDIS_URL=redis://westworld-redis:6379/0
|
|
|
|
# ─── Ollama (LLM) ─────────────────────────────────────────────────────────────
|
|
# Mac native Ollama (recommended — runs outside Docker for better GPU access):
|
|
OLLAMA_URL=http://host.docker.internal:11434
|
|
OLLAMA_MODEL=llama3.2
|
|
|
|
# ─── Creator Mode ─────────────────────────────────────────────────────────────
|
|
# NEVER sent to the AI — intercepted at API layer only. Change before production.
|
|
CREATOR_PASSCODE=hidden_vault
|
|
|
|
# ─── Memory Limits ────────────────────────────────────────────────────────────
|
|
MEMORY_SHORT_TERM_LIMIT=10
|
|
MEMORY_EPISODIC_LIMIT=1000
|
|
|
|
# ─── Life Simulation ──────────────────────────────────────────────────────────
|
|
LIFE_SIM_INTERVAL_MINUTES=30
|
|
|
|
# ─── Seed Data ────────────────────────────────────────────────────────────────
|
|
# Relative to /app (container working dir) → resolves to /app/app/seed
|
|
SEED_DIR=app/seed
|
|
|
|
# ─── Observability ────────────────────────────────────────────────────────────
|
|
OTEL_EXPORTER_OTLP_ENDPOINT=http://westworld-jaeger:4317
|
|
OTEL_SERVICE_NAME=westworld-backend
|