-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
21 lines (16 loc) · 995 Bytes
/
.env.example
File metadata and controls
21 lines (16 loc) · 995 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# ─── Local development (without Docker) ──────────────────────────────────────
# DATABASE_URL="postgresql://postgres:YOUR_PASSWORD@localhost:5432/platform_toolkit_dev"
# ─── Docker development (docker compose up) ──────────────────────────────────
# Copy this file to .env.docker and .env, then update the values.
# .env → used by local dev (npm run dev) — DATABASE_URL uses localhost
# .env.docker → used by Docker Compose — DATABASE_URL uses 'db' hostname
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/platform_toolkit_dev"
# Auth.js
AUTH_SECRET="generate-with-npx-auth-secret"
AUTH_URL="http://localhost:3000"
AUTH_TRUST_HOST="true"
# Google OAuth
GOOGLE_CLIENT_ID="your-google-client-id"
GOOGLE_CLIENT_SECRET="your-google-client-secret"
# Resend (email notifications)
RESEND_API_KEY="re_..."