-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.local.example
More file actions
49 lines (39 loc) · 2.75 KB
/
.env.local.example
File metadata and controls
49 lines (39 loc) · 2.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# ─── Maschina local dev environment ─────────────────────────────────────────
# Copy to .env.local and fill in real values.
# Run `make env` to propagate these into each service's .env file.
#
# Required to start: JWT_SECRET
# Required for real AI runs: ANTHROPIC_API_KEY or OPENAI_API_KEY
# Everything else has a working local default.
# ─── Auth (shared across api, gateway, daemon) ───────────────────────────────
# Generate: openssl rand -base64 32
JWT_SECRET=change-me-to-a-random-string-of-at-least-32-characters
# ─── Database ────────────────────────────────────────────────────────────────
DATABASE_URL=postgresql://maschina:maschina@localhost:5432/maschina
# ─── Redis ───────────────────────────────────────────────────────────────────
REDIS_URL=redis://localhost:6379
# ─── NATS ────────────────────────────────────────────────────────────────────
NATS_URL=nats://localhost:4222
# ─── AI providers (at least one required for real runs) ──────────────────────
ANTHROPIC_API_KEY=
OPENAI_API_KEY=
# ─── Stripe (leave blank — billing is skipped in local dev) ──────────────────
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
# ─── Search + vector (optional — services degrade gracefully without them) ───
MEILISEARCH_URL=http://localhost:7700
MEILISEARCH_MASTER_KEY=masterkey-change-in-production
QDRANT_URL=http://localhost:6333
VOYAGE_API_KEY=
# ─── Temporal ────────────────────────────────────────────────────────────────
TEMPORAL_ADDRESS=localhost:7233
# ─── Service URLs (defaults for local dev — no changes needed) ───────────────
API_URL=http://localhost:3000
REALTIME_URL=http://localhost:4000
RUNTIME_URL=http://localhost:8001
# ─── Misc ────────────────────────────────────────────────────────────────────
NODE_ENV=development
RUST_LOG=info
LOG_LEVEL=debug
CHAIN_ENABLED=false
OTEL_ENABLED=false