-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
99 lines (79 loc) · 3.74 KB
/
Copy path.env.example
File metadata and controls
99 lines (79 loc) · 3.74 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# CheckMate Production Environment Variables
# Copy this file to .env and update the values for your deployment
# =============================================================================
# Next.js Configuration
# =============================================================================
# Port for the Next.js application (default: 3000)
NEXTJS_PORT=3000
# Node environment (production for deployment)
NODE_ENV=production
# =============================================================================
# PocketBase Configuration
# =============================================================================
# Port for PocketBase admin/API (default: 8090)
POCKETBASE_PORT=8090
# PocketBase URL for server-side requests (internal Docker network)
POCKETBASE_URL=http://pocketbase:8090
# PocketBase URL for client-side requests (public URL)
# For local: http://localhost:8090
# For production with Cloudflare Tunnel: https://api.yourdomain.com
NEXT_PUBLIC_POCKETBASE_URL=http://localhost:8090
# Demo user credentials (created automatically on first deployment)
DEMO_USER_EMAIL=demo@checkmate.local
DEMO_USER_PASSWORD=demo_checkmate_2026
NEXT_PUBLIC_DEMO_USER_EMAIL=demo@checkmate.local
# PocketBase admin credentials (auto-created on first container start)
# Change these for production deployments!
PB_ADMIN_EMAIL=admin@checkmate.local
PB_ADMIN_PASSWORD=checkmate_admin_2026
# =============================================================================
# Cloudflare Tunnel Configuration (Optional - for homelab deployment)
# =============================================================================
# Your Cloudflare Tunnel token
#
# How to get your tunnel token:
# 1. Go to https://one.dash.cloudflare.com/
# 2. Navigate to Networks > Tunnels
# 3. Click "Create a tunnel"
# 4. Select "Cloudflared" as the connector
# 5. Name your tunnel (e.g., "checkmate")
# 6. Copy the token shown (starts with "eyJ...")
#
# After creating the tunnel, configure public hostnames in Cloudflare dashboard:
# - checkmate.yourdomain.com -> http://nextjs:3000 (for the web app)
# - api.checkmate.yourdomain.com -> http://pocketbase:8090 (for the API)
#
# Then update NEXT_PUBLIC_POCKETBASE_URL above to match your API hostname:
# NEXT_PUBLIC_POCKETBASE_URL=https://api.checkmate.yourdomain.com
#
# See: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/
CLOUDFLARE_TUNNEL_TOKEN=
# =============================================================================
# Optional: External Database (if not using embedded SQLite)
# =============================================================================
# Uncomment if using external PostgreSQL instead of SQLite
# DATABASE_URL=postgresql://user:password@host:5432/checkmate
# =============================================================================
# Optional: Email Configuration (for password reset, notifications)
# =============================================================================
# SMTP settings for PocketBase email sending
# SMTP_HOST=smtp.example.com
# SMTP_PORT=587
# SMTP_USER=
# SMTP_PASSWORD=
# SMTP_FROM=noreply@yourdomain.com
# =============================================================================
# Optional: OAuth Providers
# =============================================================================
# Google OAuth
# GOOGLE_CLIENT_ID=
# GOOGLE_CLIENT_SECRET=
# GitHub OAuth
# GITHUB_CLIENT_ID=
# GITHUB_CLIENT_SECRET=
# =============================================================================
# Optional: Disable Signup
# =============================================================================
# Set to "true" to disable new user registration.
# Existing users can still sign in. Signup links and the signup page will be hidden.
# NEXT_PUBLIC_SIGNUP_DISABLED=true