17 lines
466 B
Plaintext
17 lines
466 B
Plaintext
# Prometheus Environment Variables
|
|
|
|
# Prometheus image version
|
|
PROMETHEUS_VERSION=v3.5.0
|
|
|
|
# Host port mapping (maps to Prometheus port 9090 in container)
|
|
PROMETHEUS_PORT_OVERRIDE=9090
|
|
|
|
# How long to retain data (examples: 15d, 30d, 1y)
|
|
PROMETHEUS_RETENTION_TIME=15d
|
|
|
|
# Maximum storage size (empty = unlimited, examples: 10GB, 1TB)
|
|
PROMETHEUS_RETENTION_SIZE=
|
|
|
|
# External URL for Prometheus (used for links and redirects)
|
|
PROMETHEUS_EXTERNAL_URL=http://localhost:9090
|