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.
 
prometheus/docker-compose.yml

31 lines
736 B

version: "3"
services:
prometheus:
container_name: prometheus
user: 110:65534
image: registry.sindominio.net/prometheus
restart: always
ports:
- "9091:9090"
volumes:
- ./config/:/etc/prometheus/:ro
- ./data/:/var/lib/prometheus/
alertmanager:
container_name: alertmanager
user: 110:65534
image: registry.sindominio.net/alertmanager
restart: always
volumes:
- ./config/:/etc/prometheus/:ro
- ./data/:/var/lib/prometheus/
grafana:
container_name: grafana
user: 110:65534
image: registry.sindominio.net/grafana
restart: always
volumes:
- ./grafana/var/lib/grafana:/var/lib/grafana
- ./grafana/etc/grafana:/etc/grafana