Repository navigation
Expand file tree
/
Copy pathdokploy.env.example
More file actions
54 lines (47 loc) · 2.58 KB
/
Copy pathdokploy.env.example
File metadata and controls
54 lines (47 loc) · 2.58 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
# ============================================================================
# Dokploy Deployment Environment Variables
# ============================================================================
# Copy these values into Dokploy's environment variable configuration.
# Variables marked with [SECRET] should be marked as secrets in Dokploy.
# ============================================================================
# ----------------------------------------------------------------------------
# Domain Configuration (Required - configure in Dokploy domain settings)
# ----------------------------------------------------------------------------
API_DOMAIN=api.githubstats.example.com
# ----------------------------------------------------------------------------
# Public URL (Optional)
# ----------------------------------------------------------------------------
# If set, used to generate absolute URLs returned by the API.
# Otherwise, the API returns relative URLs.
PUBLIC_URL=https://api.githubstats.example.com
# ----------------------------------------------------------------------------
# GitHub App Configuration (Required)
# ----------------------------------------------------------------------------
GITHUB_APP_ID=123456
GITHUB_APP_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEA...\n-----END RSA PRIVATE KEY-----"
GITHUB_WEBHOOK_SECRET=your-webhook-secret-here
GITHUB_APP_INSTALL_URL=https://github.com/apps/your-app-slug/installations/new
# ----------------------------------------------------------------------------
# Infrastructure (Redis + MinIO)
# ----------------------------------------------------------------------------
# If you're using the self-contained docker-compose.yml stack, you do not need
# to set any of these — defaults will use internal service names.
#
# If you deploy Redis/MinIO separately in Dokploy, set these to your service names:
# REDIS_URL=redis://github-stats-redis:6379
# MINIO_ENDPOINT=github-stats-minio
# MINIO_PORT=9000
# MINIO_BUCKET=github-stats
# MINIO_USE_SSL=false
# MINIO_ACCESS_KEY=your-minio-access-key
# MINIO_SECRET_KEY=your-minio-secret-key
# ----------------------------------------------------------------------------
# Rendering Configuration (Optional - has defaults)
# ----------------------------------------------------------------------------
RENDER_CONCURRENCY=2
RENDER_TIMEOUT_MS=120000
# ----------------------------------------------------------------------------
# Server Configuration (Usually set automatically)
# ----------------------------------------------------------------------------
NODE_ENV=production
PORT=3029