-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (27 loc) · 1.96 KB
/
Copy path.env.example
File metadata and controls
33 lines (27 loc) · 1.96 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
# ──────────────────────────────────────────────────────────────
# Stackfile — environment configuration
# Copy to `.env` and adjust. Never commit your real `.env`.
# ──────────────────────────────────────────────────────────────
# ─── App ──────────────────────────────────────────────────────
NODE_ENV=development
APP_URL=http://localhost:4000
# ─── Database (PostgreSQL) ────────────────────────────────────
DATABASE_URL=postgres://stackfile:stackfile@localhost:5544/stackfile
# ─── Redis (background jobs, sessions, rate limiting) ─────────
REDIS_URL=redis://localhost:6379
# ─── Auth (better-auth) ───────────────────────────────────────
# Generate a strong secret: `openssl rand -base64 32`
BETTER_AUTH_SECRET=change-me-please-use-a-long-random-string
BETTER_AUTH_URL=http://localhost:4000
# ─── Storage ──────────────────────────────────────────────────
# Where uploaded files physically live.
# local = server disk (point STORAGE_LOCAL_PATH at any disk/folder)
STORAGE_DRIVER=local
STORAGE_LOCAL_PATH=./storage-data
# Max single-upload size in bytes (default 5 GiB)
STORAGE_MAX_UPLOAD_BYTES=5368709120
# ─── OAuth (optional — P5) ────────────────────────────────────
# GITHUB_CLIENT_ID=
# GITHUB_CLIENT_SECRET=
# GOOGLE_CLIENT_ID=
# GOOGLE_CLIENT_SECRET=