services:
  prometheus:
    image: prom/prometheus:latest
    container_name: prometheus
    ports:
      - "9090:9090"
    volumes:
      - /docker/monitoring/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
      - /docker/monitoring/prometheus/alert_rules.yml:/etc/prometheus/alert_rules.yml:ro
      - /docker/monitoring/prometheus-db:/prometheus
    user: "1000:1000"
    restart: unless-stopped
