Some sample code around prometheus
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
553 B

version: '3.1'
services:
prometheus:
image: quay.io/prometheus/prometheus:latest
ports:
- "9090:9090"
volumes:
- ./.podman-compose/prometheus/config:/etc/prometheus:z
- ./.podman-compose/prometheus/data:/prometheus:z
command:
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/prometheus"
- "--web.console.libraries=/usr/share/prometheus/console_libraries"
- "--web.console.templates=/usr/share/prometheus/consoles"
- "--web.enable-remote-write-receiver"
restart: always