services: prometheus: image: prom/prometheus:latest container_name: prometheus restart: always volumes: - ./prometheus.yml:/etc/prometheus/prometheus.yml networks: - monitoring_net - caddy_net node_exporter: image: prom/node-exporter:latest container_name: node-exporter restart: always networks: - monitoring_net networks: monitoring_net: driver: bridge caddy_net: external: true