services:
  prometheus:
    container_name: prometheus
    image: prom/prometheus:v3.11.3
    restart: unless-stopped
    networks:
      - homelab-network
    security_opt:
      - no-new-privileges:true
    ports:
      - 4081:9090
    volumes:
      - ./docker-compose/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
      - ~/docker-volumes/prometheus/data:/prometheus
