Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
60 lines (51 loc) · 3.02 KB
/
Copy path.env.example
File metadata and controls
60 lines (51 loc) · 3.02 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
50
51
52
53
54
55
56
57
58
59
60
# =============================================================================
# Interlock — Environment Template
# =============================================================================
# Copy this file to .env and update with your values.
# This is the SINGLE env file for the entire monorepo (Go backend, client,
# Docker Compose, and deployment scripts).
# ── Server ───────────────────────────────────────────────────────────────────
PORT=8080
NODE_ENV=development
CLIENT_URL=http://localhost:3000
# ── Database (PostgreSQL) ────────────────────────────────────────────────────
DB_USER=postgres
DB_PASSWORD=change_me
DB_NAME=interlock
# For local dev (go run): use localhost.
# Docker Compose overrides this to the container network address.
DATABASE_URL=postgresql://postgres:change_me@localhost:5432/interlock
# ── Security (required) ─────────────────────────────────────────────────────
JWT_SECRET=replace-with-at-least-32-characters
ENCRYPTION_KEY=replace-with-exactly-32-chars!!
# ── Plaid (optional — needed for bank linking) ──────────────────────────────
PLAID_CLIENT_ID=
PLAID_SECRET=
PLAID_ENV=sandbox
PLAID_PRODUCTS=auth,transactions,identity
PLAID_COUNTRY_CODES=US
# ── Dwolla (optional — needed for transfers) ────────────────────────────────
DWOLLA_KEY=
DWOLLA_SECRET=
DWOLLA_ENV=sandbox
DWOLLA_BASE_URL=https://api-sandbox.dwolla.com
DWOLLA_WEBHOOK_SECRET=
# Sandbox only: bypass transfer creation when Plaid/Dwolla sandboxes are not connected.
DWOLLA_SANDBOX_TRANSFER_BYPASS=true
# ── SendGrid (optional — needed for emails) ─────────────────────────────────
SENDGRID_API_KEY=
SENDGRID_SENDER_EMAIL=
# Set to eu only for SendGrid EU data residency accounts.
SENDGRID_DATA_RESIDENCY=
# ── Sentry (optional — monitoring) ──────────────────────────────────────────
SENTRY_DSN=
# Auth token for Sentry source map uploads during build.
SENTRY_AUTH_TOKEN=
ENABLE_LOGS=false
# ── GitHub Container Registry (deployment only) ─────────────────────────────
GHCR_USERNAME=your_github_username
GHCR_PAT=ghp_your_personal_access_token
# Optional Go backend image tag (defaults to latest)
# GO_IMAGE_TAG=latest
# ── Client (Next.js) ────────────────────────────────────────────────────────
NEXT_PUBLIC_API_URL=http://localhost:8080