-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
20 lines (17 loc) · 885 Bytes
/
Copy path.env.example
File metadata and controls
20 lines (17 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Graft environment. Copy to .env (git-ignored) and fill in.
# --- Database (Postgres) ---
# Default dev: Neon (managed). Create one with:
# npx neonctl projects create --name graft --region-id aws-eu-central-1 --org-id <org>
# Self-host alternative (docker compose): postgres://graft:graft@localhost:5432/graft
DATABASE_URL=postgresql://USER:PASSWORD@ep-xxxx.eu-central-1.aws.neon.tech/neondb?sslmode=require
# --- Object storage (S3-compatible) ---
# Default: Cloudflare R2. Self-host alternative: MinIO (docker compose) at http://localhost:9000
S3_ENDPOINT=https://<accountid>.r2.cloudflarestorage.com
S3_REGION=auto
S3_ACCESS_KEY=
S3_SECRET_KEY=
S3_BUCKET=graft-assets
# --- Example app: who gets operator scopes ---
# Comma/space-separated emails. The landing-page example grants scopes only
# to accounts named here; signing up earns none on its own.
GRAFT_OPERATOR_EMAILS=