-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.dist
37 lines (29 loc) · 1.29 KB
/
.env.dist
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
# Path to Kubernetes config file (optional)
# If not specified or file doesn't exist, K8s integration will be disabled
KUBECONFIG=/home/user/.kube/config
# Path to Bleve search index file (default: torrents.bleve)
INDEX_PATH=torrents.bleve
# HTTP server port (default: 8080)
SERVER_PORT=8080
# HTTP server host - empty string means all interfaces (default: "")
SERVER_HOST=localhost
# Search endpoint path (default: /dmm/search)
SEARCH_ENDPOINT=/dmm/search
# Zurg service label selector (default: app.elfhosted.com/name=zurg)
ZURG_LABEL=app.elfhosted.com/name=zurg
# Zurg URL template with available variables:
# {{.Name}} - service name
# {{.Namespace}} - service namespace
# {{.ClusterIP}} - service cluster IP
# {{.ExternalIP}} - service external IP (if available)
# {{.Port}} - service port
# {{.TargetPort}} - service target port
# {{.NodePort}} - service node port (if available)
# {{.LoadBalancer}} - load balancer IP/hostname (if available)
# {{.ServiceType}} - service type (ClusterIP, LoadBalancer, etc.)
ZURG_URL_TEMPLATE=http://zurg.{{.Namespace}}:9999/debug/torrents
# Comma-separated list of additional HTTP endpoints to scrape
# Example: http://server1:9999/debug/torrents,http://server2:9999/debug/torrents
EXTERNAL_ENDPOINTS=
# Health check endpoint path (default: /health)
HEALTH_ENDPOINT=/health