-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
69 lines (55 loc) · 2.28 KB
/
Copy path.env.example
File metadata and controls
69 lines (55 loc) · 2.28 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
60
61
62
63
64
65
66
67
68
69
# ==========================================
# DerList — Environment Configuration
# ==========================================
# Copy to .env and fill in values before running docker compose up.
# ==========================================
# ==========================================
# Database [REQUIRED]
# ==========================================
# Used by Docker Compose to create the PostgreSQL database
# and to construct DATABASE_URL for the application.
# IMPORTANT: Avoid special characters ($, #, %, @, !) in the password
# or URL-encode them. Simple alphanumeric passwords are safest.
POSTGRES_USER=derlist
POSTGRES_PASSWORD=changeme
POSTGRES_DB=derlist
# ==========================================
# Application [OPTIONAL]
# ==========================================
# Public-facing URL (used for OAuth callbacks and share links)
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Host port to expose (default 3000)
APP_PORT=3000
# ==========================================
# Authentication [REQUIRED]
# ==========================================
# Session signing key. Generate with: openssl rand -base64 32
AUTH_SECRET=GENERATE_ME_WITH_openssl_rand_base64_32
# ==========================================
# OAuth Providers [OPTIONAL]
# ==========================================
# Leave blank to disable a provider. Password login always works.
# GitHub: https://github.com/settings/developers
# Callback: {NEXT_PUBLIC_APP_URL}/auth/github/callback
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# Google: https://console.cloud.google.com/apis/credentials
# Callback: {NEXT_PUBLIC_APP_URL}/auth/google/callback
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# ==========================================
# Admin Account (First Run) [RECOMMENDED]
# ==========================================
# Creates the initial owner account on first startup.
# Idempotent — won't duplicate on restart.
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=changeme
ADMIN_USERNAME=admin
ADMIN_DISPLAY_NAME=Admin
# ==========================================
# Provider Encryption [OPTIONAL]
# ==========================================
# AES-256-GCM key for encrypting provider API keys in the database.
# Generate with: node scripts/generate-encryption-key.js
# Only needed if you configure AI/shopping/price providers.
PROVIDER_ENCRYPTION_KEY=