-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (49 loc) · 2.05 KB
/
Copy path.env.example
File metadata and controls
59 lines (49 loc) · 2.05 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
# Copy to .env and fill in values
# ───────── Database (PostgreSQL) ─────────
DB_HOST="localhost"
DB_PORT="5432"
DB_USER="postgres"
DB_PASSWORD=""
DB_NAME="doc_ia"
DB_SCHEMA="public"
DB_PARAMS=""
# ───────── NextAuth.js v5 ─────────
AUTH_SECRET=""
AUTH_URL="http://localhost:3000"
AUTH_TRUST_HOST="true"
# ───────── File uploads ─────────
UPLOAD_DIR="./uploads"
MAX_UPLOAD_SIZE_MB="20"
# ───────── PWA Push (Web Push / VAPID) ─────────
# Generate keys once: npx web-push generate-vapid-keys
VAPID_PUBLIC_KEY=""
VAPID_PRIVATE_KEY=""
VAPID_SUBJECT="mailto:admin@kimeku.local"
NEXT_PUBLIC_VAPID_PUBLIC_KEY=""
# ───────── Cron / scheduled jobs ─────────
# Shared secret used by /api/cron/todo-alarms (header Authorization: Bearer <CRON_SECRET>)
CRON_SECRET=""
# ───────── Search ─────────
# Search provider — "orama" (default, in-memory, sin infra) | "pg" (fallback pg_trgm)
SEARCH_PROVIDER=orama
# ───────── Git provider integrations (OAuth) ─────────
# Register an OAuth App on each provider with callback:
# {AUTH_URL}/api/integrations/connect/github/callback
# {AUTH_URL}/api/integrations/connect/gitlab/callback
AUTH_GITHUB_ID=""
AUTH_GITHUB_SECRET=""
AUTH_GITLAB_ID=""
AUTH_GITLAB_SECRET=""
# Encrypts OAuth tokens (Account.access_token / refresh_token / id_token) and webhook secrets.
# Generate once with: openssl rand -base64 32
INTEGRATIONS_ENCRYPTION_KEY=""
# ───────── Seed (pnpm db:seed) ─────────
# Used by prisma/seed.ts to bootstrap the initial admin user.
# REQUIRED before running `pnpm db:seed` on a fresh DB.
SEED_ADMIN_EMAIL="admin@example.com"
SEED_ADMIN_PASSWORD="" # min 8 chars
SEED_ADMIN_NAME="Admin"
# Optional — leave empty to skip the demo client/portal user.
SEED_DEMO_CLIENT_EMAIL=""
SEED_DEMO_CLIENT_PASSWORD="" # min 8 chars if set
SEED_DEMO_CLIENT_NAME="Cliente Demo"