version: "3.7" services: prometheus: image: prom/prometheus restart: always volumes: - ../config/monitoring/prometheus:/etc/prometheus - prometheus_data:/prometheus ports: - "9090" extra_hosts: - "host.docker.internal:host-gateway" volumes: prometheus_data: