services: pihole: container_name: pihole image: pihole/pihole:latest dns: - 1.1.1.1 - 8.8.8.8 ports: - "53:53/tcp" - "53:53/udp" - "80:80/tcp" # This is fine since Caddy isn't on this VM! environment: TZ: 'America/New_York' WEBPASSWORD: 'dYtdyz-ginqas-pastu0' PIHOLE_DNS_: '8.8.8.8;1.1.1.1' DNSMASQ_LISTENING: 'all' volumes: - './etc-pihole:/etc/pihole' - './etc-dnsmasq.d:/etc/dnsmasq.d' restart: unless-stopped cap_add: - SYS_NICE node-exporter: image: prom/node-exporter:latest container_name: node-exporter ports: - "9100:9100" cadvisor: image: gcr.io/cadvisor/cadvisor:latest container_name: cadvisor ports: - "8080:8080" volumes: - /:/rootfs:ro - /var/run:/var/run:ro - /sys:/sys:ro - /var/lib/docker/:/var/lib/docker:ro pihole-exporter: image: ekofr/pihole-exporter:latest container_name: pihole-exporter environment: - PIHOLE_PROTOCOL=http - PIHOLE_HOSTNAME=pihole - PIHOLE_PASSWORD=dYtdyz-ginqas-pastu0 ports: - "9617:9617"