-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.env.example
More file actions
45 lines (36 loc) · 1.41 KB
/
.env.example
File metadata and controls
45 lines (36 loc) · 1.41 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
# Status Panel Agent - Example .env
# Required for dashboard requests
AGENT_ID=your-agent-id
AGENT_TOKEN=replace-with-secret
# Metrics webhook (optional). Agent pushes MetricsSnapshot JSON here.
METRICS_WEBHOOK=https://example.com/metrics
# Heartbeat interval override (seconds)
METRICS_INTERVAL_SECS=15
# Long-polling configuration (for continuous command polling)
# Dashboard URL where commands are enqueued
DASHBOARD_URL=http://localhost:5000
# How long to wait per poll request (seconds) before timing out
POLLING_TIMEOUT_SECS=30
# Backoff delay after network errors (seconds)
POLLING_BACKOFF_SECS=5
# Command execution timeout (seconds)
COMMAND_TIMEOUT_SECS=300
# Login credentials for UI/API (default admin/admin if unset)
STATUS_PANEL_USERNAME=admin
STATUS_PANEL_PASSWORD=admin
# Backup signer / verification
DEPLOYMENT_HASH=replace-with-secret
TRYDIRECT_IP=127.0.0.1
BACKUP_PATH=/data/encrypted/backup.tar.gz.cpt
# Docker integration
DOCKER_SOCK=unix:///var/run/docker.sock
NGINX_CONTAINER=nginx
IP_HELP_LINK=https://try.direct/explains/what-is-dns-propagation
# Self-update (beta)
# If set, agent checks for updates at UPDATE_SERVER_URL; alternatively set UPDATE_BINARY_URL directly.
UPDATE_SERVER_URL=https://releases.example.com
UPDATE_BINARY_URL=
# Optional SHA256 expected hash for downloaded binary
UPDATE_EXPECTED_SHA256=
# Where to store backups/manifest during deploy/rollback
UPDATE_STORAGE_PATH=/var/lib/status-panel