Sign inSign up

homecentr/prometheus

By homecentr

Updated about 6 years ago

Image
0

1.9K

homecentr/prometheus repository overview

Project status

CI/CD on master Regular Docker image vulnerability scan

HomeCentr - prometheus

Repack of prometheus with the usual Homecentr bells and whistles.

Usage

version: "3.7"
services:
  prometheus:
    image: homecentr/prometheus
    ports:
      - 9090:9090
    volumes:
      - ./example:/prometheus

Environment variables

NameDefault valueDescription
PUID7077UID of the user prometheus should be running as.
PGID7077GID of the user prometheus should be running as.
PROMETHEUS_ARGSSee the DockerfileAdditional command line arguments passed to the Prometheus executable.

Exposed ports

PortProtocolDescription
9090TCPWeb UI and API.

Volumes

Container pathDescription
/configPrometheus configuration. This should container the prometheus.yml configuration file.
/prometheusPrometheus state. Make sure the volume is writable for PUID/PGID.

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 process runs as UID/GID provided in the PUID and PGID environment variables.

:warning: 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.

Tag summary

Content type

Image

Digest

Size

42.1 MB

Last updated

about 6 years ago

docker pull homecentr/prometheus