Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

homecentr/docker-prometheus-push-gateway

Repository files navigation

Project status

CI/CD on master Regular Docker image vulnerability scan

HomeCentr - prometheus-push-gateway

Usage

version: "3.7"
services:
  prometheus-push-gateway:
    image: homecentr/prometheus-push-gateway
    ports:
      - 9091:9091

Environment variables

Name Default value Description
PUID 7077 UID of the user prometheus-push-gateway should be running as.
PGID 7077 GID of the user prometheus-push-gateway should be running as.
PUSHGATEWAY_ARGS Command line arguments to the push gateway executable.

Exposed ports

Port Protocol Description
9091 TCP Metrics HTTP endpoint.

Volumes

This image does not expose any volumes.

Security

The container is regularly scanned for vulnerabilities and updated. Further info can be found in the Security tab.

Container user

The container supports privilege drop. Even though the container starts as root, it will use the permissions only to perform the initial set up. The prometheus-push-gateway process runs as UID/GID provided in the PUID and PGID environment variables.

⚠️ Do not change the container user directly using the user Docker compose property or using the --user argument. This would break the privilege drop logic.