-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
78 lines (65 loc) · 2.61 KB
/
Copy path.env.example
File metadata and controls
78 lines (65 loc) · 2.61 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
# Valley of the Commons Environment Variables
# Copy to .env and fill in values
# ============================================
# PostgreSQL Database (for applications & waitlist)
# ============================================
# DATABASE_URL is set automatically in docker-compose.yml
# Only needed for local development
DATABASE_URL=postgresql://votc:votc_password@localhost:5432/votc
# ============================================
# SMTP Email
# ============================================
SMTP_HOST=mail.example.com
SMTP_PORT=587
SMTP_USER=noreply@example.com
SMTP_PASS=changeme
# Email sender address
EMAIL_FROM=Valley of the Commons <noreply@example.com>
# ============================================
# Admin Configuration
# ============================================
# Admin API key for accessing application data
# Generate a secure random string
ADMIN_API_KEY=your_secure_admin_key_here
# Admin email addresses (comma-separated)
ADMIN_EMAILS=jeff@jeffemmett.com
# ============================================
# Node Environment
# ============================================
NODE_ENV=production
# ============================================
# Legacy: Google Sheets (optional, for old waitlist)
# ============================================
GOOGLE_SERVICE_ACCOUNT=your_service_account_json_here
GOOGLE_SHEET_ID=your_sheet_id_here
GOOGLE_SHEET_NAME=Waitlist
# ============================================
# Mollie Payment Integration
# ============================================
# Mollie API key (test or live)
# Test keys start with 'test_', live keys start with 'live_'
MOLLIE_API_KEY=test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Public base URL for redirects and webhooks
BASE_URL=https://valleyofthecommons.com
# ============================================
# AI Gateway Configuration for Game Chat
# ============================================
# Vercel AI Gateway API key (get from Vercel dashboard)
AI_GATEWAY_API_KEY=your_vercel_ai_gateway_key_here
# Model selection (optional, defaults to mistral/mistral-large-latest)
# Format: provider/model-name
# Examples:
# mistral/mistral-large-latest
# anthropic/claude-3-5-sonnet-20241022
GAME_MODEL=mistral/mistral-large-latest
# ============================================
# GitHub Configuration for Idea Sharing
# ============================================
# GitHub Personal Access Token (fine-grained token with repo write access)
# Create at: https://github.com/settings/tokens
GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# GitHub Repository Configuration (optional, defaults shown)
GITHUB_OWNER=understories
GITHUB_REPO=votc
GITHUB_BRANCH=main
GITHUB_PATH=build_game/ideas