gabriel / musehub public
.env.example
39 lines 2.2 KB
Raw
sha256:a34090cc4a394a78bd72cbbe34b08cc59525141e19135b6c0ab154f10611b9ef debug(push/stream): instrument O-frame decode path with INF… Sonnet 4.6 patch 121 days ago
1 # MuseHub environment configuration template
2 # Copy to .env and fill in real values for local development.
3 # NEVER commit .env, .env.staging, .env.production, or .env.prod to version control.
4 #
5 # Secret generation:
6 # openssl rand -hex 32 → for WEBHOOK_SECRET_KEY, RUNNER_TOKEN
7 # openssl rand -hex 16 → for DB_PASSWORD
8 #
9 # Environments: local | staging | production
10 # NEVER set DEBUG=true in staging or production — it exposes internals.
11
12 # ── Core ─────────────────────────────────────────────────────────────────────
13
14 MUSE_ENV=local
15 DEBUG=true
16
17 # ── Database ──────────────────────────────────────────────────────────────────
18
19 DATABASE_URL=postgresql+asyncpg://musehub:musehub@postgres:5432/musehub
20 DB_PASSWORD=changeme
21
22 # ── Auth & secrets ────────────────────────────────────────────────────────────
23 # Generate with: openssl rand -hex 32
24
25 WEBHOOK_SECRET_KEY=changeme
26 RUNNER_TOKEN=changeme
27
28 # ── CORS ──────────────────────────────────────────────────────────────────────
29
30 CORS_ORIGINS=http://localhost:3000,https://localhost:1337
31
32 # ── Object storage ────────────────────────────────────────────────────────────
33
34 MUSEHUB_RELEASES_DIR=/data/releases
35
36 # ── Staging / production guidance ─────────────────────────────────────────────
37 # For staging and production deployments, values are injected via AWS SSM
38 # Parameter Store by deploy/push.sh — do not hard-code secrets here.
39 # Set MUSE_ENV=staging or MUSE_ENV=production and DEBUG=false.
File History 1 commit
sha256:a34090cc4a394a78bd72cbbe34b08cc59525141e19135b6c0ab154f10611b9ef debug(push/stream): instrument O-frame decode path with INF… Sonnet 4.6 patch 121 days ago