Skip to content

Commit a01dc2d

Browse files
committed
feat: add example .env file for environment configuration
1 parent 0c8dbaf commit a01dc2d

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.env.example

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Gitingest Environment Variables
2+
3+
# Host Configuration
4+
# Comma-separated list of allowed hostnames
5+
# Default: "gitingest.com, *.gitingest.com, localhost, 127.0.0.1"
6+
ALLOWED_HOSTS=gitingest.com,*.gitingest.com,localhost,127.0.0.1
7+
8+
# GitHub Authentication
9+
# Personal Access Token for accessing private repositories
10+
# Generate your token here: https://github.com/settings/tokens/new?description=gitingest&scopes=repo
11+
# GITHUB_TOKEN=your_github_token_here
12+
13+
# Metrics Configuration
14+
# Set to any value to enable the Prometheus metrics server
15+
# GITINGEST_METRICS_ENABLED=true
16+
# Host for the metrics server (default: "127.0.0.1")
17+
GITINGEST_METRICS_HOST=127.0.0.1
18+
# Port for the metrics server (default: "9090")
19+
GITINGEST_METRICS_PORT=9090
20+
21+
# Sentry Configuration
22+
# Set to any value to enable Sentry error tracking
23+
# GITINGEST_SENTRY_ENABLED=true
24+
# Sentry DSN (required if Sentry is enabled)
25+
# GITINGEST_SENTRY_DSN=your_sentry_dsn_here
26+
# Sampling rate for performance data (default: "1.0", range: 0.0-1.0)
27+
GITINGEST_SENTRY_TRACES_SAMPLE_RATE=1.0
28+
# Sampling rate for profile sessions (default: "1.0", range: 0.0-1.0)
29+
GITINGEST_SENTRY_PROFILE_SESSION_SAMPLE_RATE=1.0
30+
# Profile lifecycle mode (default: "trace")
31+
GITINGEST_SENTRY_PROFILE_LIFECYCLE=trace
32+
# Send default personally identifiable information (default: "true")
33+
GITINGEST_SENTRY_SEND_DEFAULT_PII=true
34+
# Environment name for Sentry (default: "")
35+
GITINGEST_SENTRY_ENVIRONMENT=development

0 commit comments

Comments
 (0)