valley-commons/.env.example

79 lines
2.6 KiB
Plaintext

# 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://votc.jeffemmett.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