stack-orchestrator/stack_orchestrator/data/compose/docker-compose-prom-server.yml

15 lines
313 B
YAML
Raw Normal View History

version: "3.7"
services:
prometheus:
image: prom/prometheus
restart: always
volumes:
2023-12-13 08:40:04 +00:00
- ../config/monitoring/prometheus:/etc/prometheus
# TODO: persist data
# - prometheus_data:/prometheus
ports:
- "9090:9090"
2023-12-13 08:40:04 +00:00
extra_hosts:
- "host.docker.internal:host-gateway"