# Docker image tag settings. # It may be worth running specific stable versions in production to avoid breaking changes when the latest tag is updated. IMG_TAG_PROMETHEUS=latest IMG_TAG_NODE_EXPORTER=latest IMG_TAG_GRAFANA=latest # MAKE SURE TO CHANGE THESE VALUES! GF_SECURITY_ADMIN_USER=admin GF_SECURITY_ADMIN_PASSWORD=changeme_3dX7D GF_USERS_ALLOW_SIGN_UP=false # Shouldn't have to change these since we map the ports through Docker Compose anyways. GF_SERVER_HTTP_PORT=80 GF_SERVER_HTTP_ADDR=0.0.0.0 # If running through a reverse proxy, you must set the root URL to your domain/subdomain. Otherwise, Grafana will not work properly. #GF_SERVER_ROOT_URL=https://sub.mydomain.com/ # Grafana container expose settings. # NOTE: If running through a reverse proxy, I recommend setting `GF_EXPOSE_ADDR` to `127.0.0.1` so you don't expose the Grafana container itself to the Internet and instead only expose the reverse proxy. GF_EXPOSE_PORT=4321 GF_EXPOSE_ADDR=0.0.0.0 # Prometheus settings # By default, Prometheus will retain 3 years of data or 50 GB of data, whichever comes first. Adjust as needed. PROMETHEUS_RETENTION_TIME=1095d # 1095d = 3 years PROMETHEUS_RETENTION_SIZE=50GB