-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (41 loc) · 1.24 KB
/
.env.example
File metadata and controls
50 lines (41 loc) · 1.24 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
# ===========================================
# Lanyard - Identity Provider Configuration
# ===========================================
# Database (PostgreSQL)
DATABASE_URL=postgres://lanyard:lanyard@localhost:5432/lanyard
# Better Auth
BETTER_AUTH_SECRET=change-me-to-a-random-256-bit-secret
BETTER_AUTH_URL=http://localhost:3000
# Email - SMTP (primary)
SMTP_HOST=localhost
SMTP_PORT=1025
SMTP_SECURE=false
SMTP_USER=
SMTP_PASS=
SMTP_FROM=noreply@lanyard.local
# Email - Resend (fallback, optional)
RESEND_API_KEY=
# Social Providers (leave empty to disable)
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# Redis (optional, for production rate limiting)
REDIS_URL=
# Dashboard OIDC Client (used by lanyard:setup to register the client)
DASHBOARD_CLIENT_ID=dashboard
DASHBOARD_CLIENT_SECRET=
DASHBOARD_URL=http://localhost:4000
# S3-Compatible Storage (for file uploads)
S3_ENDPOINT=http://localhost:9000
S3_REGION=auto
S3_BUCKET=lanyard
S3_ACCESS_KEY_ID=minioadmin
S3_SECRET_ACCESS_KEY=minioadmin
## Optional public URL for uploaded files (if your S3-compatible storage has a different public URL than the endpoint)
S3_PUBLIC_URL=
# Application
APP_NAME=Lanyard
NODE_ENV=development