-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.local.example
More file actions
80 lines (68 loc) · 2.45 KB
/
.env.local.example
File metadata and controls
80 lines (68 loc) · 2.45 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
# ============================================
# lagden.dev Environment Configuration
# ============================================
# Copy this file to .env.local and fill in your values
# For Coolify deployment, set these in the Coolify UI
# ============================================
# Required - External Services
# ============================================
# Contentful CMS (Required)
CONTENTFUL_SPACE_ID=your_contentful_space_id
CONTENTFUL_DELIVERY_API_KEY=your_contentful_api_key
CONTENTFUL_ENVIRONMENT=master
# ============================================
# Optional - External Services
# ============================================
# Sentry Error Tracking (build-time only, for source map uploads)
SENTRY_AUTH_TOKEN=
# Better Stack Uptime Monitoring
BETTERSTACK_UPTIME_API_KEY=
# ============================================
# Cache Configuration (seconds)
# ============================================
# These have sensible defaults - only override if needed
CACHE_PROJECTS_LIST=3600 # 1 hour
CACHE_PROJECTS_DETAIL=300 # 5 minutes
CACHE_PEOPLE_LIST=7200 # 2 hours
CACHE_PEOPLE_DETAIL=600 # 10 minutes
CACHE_STATUS=30 # 30 seconds
CACHE_COMMITS=300 # 5 minutes
CACHE_TAGS=86400 # 24 hours
CACHE_SEARCH=300 # 5 minutes
# Cache Limits
CACHE_MAX_SIZE_MB=50
CACHE_MAX_ENTRIES=1000
ENABLE_CACHE_STATS=true
# ============================================
# System Configuration
# ============================================
# Most values are auto-detected - only override if needed
# Deployment identifier (set automatically by docker-compose.yml)
# SYSTEM_DEPLOYMENT=coolify
# System Stats (update to reflect your actual project)
SYSTEM_API_ROUTES=12
SYSTEM_PAGES=18
SYSTEM_COMPONENTS=32
# ============================================
# Docker / Coolify Deployment Notes
# ============================================
#
# Local Development:
# 1. Copy this file to .env.local
# 2. Fill in CONTENTFUL_* values
# 3. Run: pnpm dev
#
# Docker Build (local testing):
# docker build -t lagden-dev .
# docker run -p 3000:3000 \
# -e CONTENTFUL_SPACE_ID=xxx \
# -e CONTENTFUL_DELIVERY_API_KEY=xxx \
# lagden-dev
#
# Coolify Deployment:
# 1. Add repository as Docker Compose resource
# 2. Set environment variables in Coolify UI
# 3. Configure domain (Coolify handles SSL via Traefik)
# 4. Deploy
#
# Note: No GitHub API key required - uses public GitHub API