.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
IMG_TAG_PROMETHEUS
Docker image tag settings. It may be worth running specific stable versions in production to avoid breaking changes when the latest tag is…
IMG_TAG_NODE_EXPORTER
IMG_TAG_GRAFANA
GF_SECURITY_ADMIN_USER
MAKE SURE TO CHANGE THESE VALUES!
GF_SECURITY_ADMIN_PASSWORD
secret
GF_USERS_ALLOW_SIGN_UP
GF_SERVER_HTTP_PORT
Shouldn't have to change these since we map the ports through Docker Compose anyways.
GF_SERVER_HTTP_ADDR
GF_EXPOSE_PORT
Grafana container expose settings. NOTE: If running through a reverse proxy, I recommend setting `GF_EXPOSE_ADDR` to `127.0.0.1` so you…
GF_EXPOSE_ADDR
PROMETHEUS_RETENTION_TIME
Prometheus settings By default, Prometheus will retain 3 years of data or 50 GB of data, whichever comes first. Adjust as needed.
PROMETHEUS_RETENTION_SIZE
brew install flyctl && fly launch --from https://github.com/gamemann/prometheus-grafana-on-host
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/gamemann/prometheus-grafana-on-host
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/gamemann/prometheus-grafana-on-host