-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker.env.template
More file actions
147 lines (120 loc) · 6.06 KB
/
docker.env.template
File metadata and controls
147 lines (120 loc) · 6.06 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# Ring Platform - Docker Environment Configuration Template
# Copy this file to .env.local and fill in your actual values
# =============================================================================
# FIREBASE CONFIGURATION
# =============================================================================
# Get these from Firebase Console > Project Settings > General > Your apps
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key_here
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your-project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your-project-id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your-project.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=123456789012
NEXT_PUBLIC_FIREBASE_APP_ID=1:123456789012:web:abcdef123456
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=G-XXXXXXXXXX
# =============================================================================
# AUTH.JS v5 CONFIGURATION
# =============================================================================
# Generate with: openssl rand -base64 32
AUTH_SECRET=your_auth_secret_here_32_chars_minimum
# Firebase Admin SDK (from service account JSON)
AUTH_FIREBASE_PROJECT_ID=your-project-id
AUTH_FIREBASE_CLIENT_EMAIL=firebase-adminsdk-xxxxx@your-project.iam.gserviceaccount.com
AUTH_FIREBASE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nYOUR_PRIVATE_KEY_HERE\n-----END PRIVATE KEY-----\n"
# Application URL
NEXTAUTH_URL=http://localhost:3000
# =============================================================================
# OAUTH PROVIDERS (OPTIONAL)
# =============================================================================
# Google OAuth (Google Cloud Console)
AUTH_GOOGLE_ID=your_google_client_id.apps.googleusercontent.com
AUTH_GOOGLE_SECRET=your_google_client_secret
# Apple OAuth (Apple Developer Console)
AUTH_APPLE_ID=your.apple.service.id
AUTH_APPLE_SECRET=your_apple_private_key
# Resend for Magic Link Authentication
AUTH_RESEND_KEY=re_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# =============================================================================
# STORAGE CONFIGURATION
# =============================================================================
# Vercel Blob Storage
BLOB_READ_WRITE_TOKEN=vercel_blob_rw_xxxxxxxxxxxxxxxx
# =============================================================================
# API CONFIGURATION
# =============================================================================
NEXT_PUBLIC_API_URL=http://localhost:3000
# =============================================================================
# DOCKER-SPECIFIC CONFIGURATION
# =============================================================================
# Container settings
PORT=3000
HOSTNAME=0.0.0.0
NODE_ENV=development
# Database connections (when using docker-compose services)
REDIS_URL=redis://redis:6379
MONGODB_URL=mongodb://ring:ring_password_2024@mongodb:27017/ring_platform
# =============================================================================
# OPTIONAL: CONNECTPLATFORM INTEGRATION
# =============================================================================
# Enable ConnectPlatform backend compatibility (optional)
CONNECT_PLATFORM_ENABLED=false
CONNECT_PLATFORM_URL=http://localhost:3001
CONNECT_PLATFORM_API_KEY=your_connect_platform_api_key
# =============================================================================
# OPTIONAL: WEB3 CONFIGURATION
# =============================================================================
# Ethereum network configuration
NEXT_PUBLIC_ETHEREUM_NETWORK=sepolia
NEXT_PUBLIC_INFURA_PROJECT_ID=your_infura_project_id
NEXT_PUBLIC_ALCHEMY_API_KEY=your_alchemy_api_key
# Ring Token Contract Addresses
NEXT_PUBLIC_RING_TOKEN_ADDRESS=0x...
NEXT_PUBLIC_RING_MEMBERSHIP_ADDRESS=0x...
# =============================================================================
# OPTIONAL: MONITORING & ANALYTICS
# =============================================================================
# Application monitoring
SENTRY_DSN=https://your_sentry_dsn@sentry.io/project_id
NEXT_PUBLIC_ANALYTICS_ID=your_analytics_id
# Performance monitoring
VERCEL_ANALYTICS_ID=your_vercel_analytics_id
# =============================================================================
# DEVELOPMENT SETTINGS
# =============================================================================
# Disable telemetry
NEXT_TELEMETRY_DISABLED=1
# Debug settings (development only)
DEBUG=ring:*
LOG_LEVEL=info
# Build optimization
ANALYZE=false
BUNDLE_ANALYZE=false
# =============================================================================
# 🤖 AI/LLM CONFIGURATION (Ring Matcher System)
# =============================================================================
# LLM provider configuration for AI-powered opportunity matching
# Get API keys from: https://platform.openai.com/api-keys or https://console.anthropic.com/
# Primary LLM Provider ('openai' or 'anthropic')
LLM_PROVIDER=openai
# OpenAI Configuration (required if using OpenAI)
OPENAI_API_KEY=your_openai_api_key_here
# Anthropic Configuration (required if using Anthropic)
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# LLM Model Configuration
# OpenAI: 'gpt-4o', 'gpt-4-turbo', 'gpt-3.5-turbo'
# Anthropic: 'claude-3-5-sonnet-20241022', 'claude-3-haiku-20240307'
LLM_MODEL=gpt-4o
# Matching Configuration
MATCHING_SCORE_THRESHOLD=0.7 # Minimum match score (0.0-1.0) to trigger notifications
MAX_MATCHES_PER_OPPORTUNITY=10 # Maximum matches to return per opportunity
MATCHING_MAX_TOKENS=2000 # Maximum tokens for LLM matching requests
# Vector Store Configuration (optional - for advanced matching)
RING_VECTOR_STORE=memory # 'memory', 'pgvector', or 'pinecone'
PGVECTOR_URL=postgresql://user:password@postgres:5432/ring_vector_store # PostgreSQL with pgvector
PINECONE_API_KEY=your_pinecone_api_key # Pinecone vector database
# =============================================================================
# 💳 PAYMENT INTEGRATION (WayForPay)
# =============================================================================
# WayForPay payment gateway for store and membership features
WAYFORPAY_MERCHANT_ACCOUNT=your_wayforpay_merchant_account
WAYFORPAY_SECRET_KEY=your_wayforpay_secret_key
WAYFORPAY_DOMAIN=your_domain.com