-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (26 loc) · 1.09 KB
/
Copy path.env.example
File metadata and controls
32 lines (26 loc) · 1.09 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
# ─────────── TeleYab env ───────────
# Copy to `.env` for local dev.
# ---- network ----
PORT=8084
# Used by Next.js rewrites/proxies in dev
GO_ORIGIN=http://127.0.0.1:8084
# Public-facing URL — used in emails (verify-email links, password resets)
PUBLIC_BASE_URL=http://localhost:4102
WEB_ORIGIN=http://localhost:4102
# ---- database ----
# docker-compose stands up Postgres on 5436
DATABASE_URL=postgres://teleyab:teleyab@127.0.0.1:5436/teleyab?sslmode=disable
# ---- secrets ----
# 32+ random chars
SESSION_SECRET=change-me-to-something-long-and-random-please-32+chars
# ---- upstream data source ----
# Base URL and key for the lookup data source. Configure per environment.
UPSTREAM_API_KEY=your-upstream-api-key-here
UPSTREAM_BASE_URL=https://example.com
# ---- transactional email (Resend) ----
# Leave empty in dev — magic-link / reset URLs print to server log instead.
RESEND_API_KEY=
RESEND_FROM="TeleYab <noreply@teleyab.ir>"
# ---- bootstrap admin ----
# Email that becomes admin role on first boot. Sign in normally afterwards.
SEED_ADMIN_EMAIL=