Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
78 lines (67 loc) · 2.47 KB
/
Copy path.env.example
File metadata and controls
78 lines (67 loc) · 2.47 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
# Environment Variables Template
# Copy this to .env.local and fill in your actual values
# NEVER commit .env.local to version control
# ========================================
# Dokploy Instance Configuration
# ========================================
DOKPLOY_API_KEY=your-dokploy-api-key-here
DOKPLOY_URL=https://your-dokploy-instance.com
# ========================================
# Cloudflare Credentials (REQUIRED)
# ========================================
# Get these from: https://dash.cloudflare.com/profile/api-tokens
CF_ACCOUNT_ID=your-cloudflare-account-id
CF_API_TOKEN=your-cloudflare-api-token
CF_ZONE_ID=your-cloudflare-zone-id
# ========================================
# Cloudflare R2 (if using object storage templates)
# ========================================
CF_R2_ACCESS_KEY=your-r2-access-key
CF_R2_SECRET_KEY=your-r2-secret-key
CF_R2_BUCKET_NAME=dokploy-templates-backup
# ========================================
# Cloudflare D1 (if using database templates)
# ========================================
CF_D1_DATABASE_ID=your-d1-database-id
# ========================================
# Staging Environment
# ========================================
STAGING_DOKPLOY_URL=https://staging.dokploy.local
STAGING_CF_API_TOKEN=your-staging-cf-token
STAGING_ENVIRONMENT=true
# ========================================
# Testing Configuration
# ========================================
TEST_TEMPLATE_NAME=grafana
TEST_TIMEOUT=30000
TEST_VERBOSE=false
NODE_ENV=development
# ========================================
# Development Tools
# ========================================
DEBUG=dokploy:*
LOG_LEVEL=info
# ========================================
# Optional: GitHub Integration
# ========================================
GITHUB_TOKEN=your-github-token
GITHUB_ORG=enuno
GITHUB_REPO=dokploy
# ========================================
# Optional: Database Credentials (Local Dev Only)
# ========================================
POSTGRES_USER=dokploy_dev
POSTGRES_PASSWORD=dev-password-change-me
POSTGRES_DB=dokploy_templates
# ========================================
# Optional: Analytics
# ========================================
ANALYTICS_ENABLED=false
# ========================================
# Notes:
# ========================================
# 1. NEVER commit this file with real values
# 2. Use .env.local for local development (gitignored)
# 3. Cloudflare tokens are sensitive - rotate regularly
# 4. For CI/CD, use GitHub Secrets instead
# 5. Template .env.example is public (no values)