-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
37 lines (29 loc) · 1.87 KB
/
.env.example
File metadata and controls
37 lines (29 loc) · 1.87 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
# ─── Database ────────────────────────────────────────────────────────
PULSE_DB_URL=postgres://pulse:pulse@localhost:5432/pulse?sslmode=disable
# Connection pool settings (API only)
# PULSE_DB_POOL_MAX_CONNS=10
# PULSE_DB_POOL_MIN_CONNS=2
# PULSE_DB_POOL_MAX_IDLE_TIME=5m
# PULSE_DB_POOL_HEALTH_CHECK_PERIOD=30s
# ─── API Server ──────────────────────────────────────────────────────
PULSE_GRPC_ADDR=:9090
PULSE_REST_ADDR=:8080
# Stale agent detection threshold (agents with no heartbeat past this are marked lost)
# PULSE_STALE_THRESHOLD=5m
# Log level: debug, info, warn, error (default: info)
# PULSE_LOG_LEVEL=info
# ─── Agent ───────────────────────────────────────────────────────────
PULSE_API_ADDR=http://localhost:9090
PULSE_NODE_NAME=node-1
PULSE_POLL_INTERVAL=30s
PULSE_REDACT_PATTERNS=PASSWORD,SECRET,KEY,TOKEN,CREDENTIAL
# Docker socket path (default: /var/run/docker.sock)
# PULSE_DOCKER_HOST=unix:///var/run/docker.sock
# ─── TLS (optional) ─────────────────────────────────────────────────
# Both CERT and KEY must be set together; CA is optional.
# PULSE_TLS_CERT=/path/to/cert.pem
# PULSE_TLS_KEY=/path/to/key.pem
# PULSE_TLS_CA=/path/to/ca.pem
# ─── Webhooks (optional) ────────────────────────────────────────────
# Sends agent online/offline notifications to this URL.
# PULSE_WEBHOOK_URL=https://hooks.slack.com/services/...