services: pihole: container_name: pihole image: pihole/pihole:latest restart: unless-stopped dns: - 1.1.1.1 - 8.8.8.8 ports: - "53:53/tcp" - "53:53/udp" - "80:80/tcp" environment: TZ: 'America/New_York' WEBPASSWORD: ${PIHOLE_PASS} PIHOLE_DNS_: '8.8.8.8;1.1.1.1' DNSMASQ_LISTENING: 'all' volumes: - './etc-pihole:/etc/pihole' - './etc-dnsmasq.d:/etc/dnsmasq.d' cap_add: - SYS_NICE # --- KOMODO AGENT (PERIPHERY) --- komodo-periphery: image: ghcr.io/moghtech/komodo-periphery:2 container_name: komodo-periphery restart: always environment: # Points back to your Cloud VM Core PERIPHERY_CORE_ADDRESS: http://100.80.179.128:9120 PERIPHERY_CONNECT_AS: Mystic-DNS PERIPHERY_ONBOARDING_KEY: ${DNS_ONBOARD_KEY} PERIPHERY_SERVER_ENABLED: "true" ports: - "8120:8120" volumes: - /var/run/docker.sock:/var/run/docker.sock - ./komodo:/config - /proc:/proc:ro pihole-exporter: image: ekofr/pihole-exporter:latest container_name: pihole-exporter restart: always environment: - PIHOLE_PROTOCOL=http - PIHOLE_HOSTNAME=pihole - PIHOLE_PASSWORD=${PIHOLE_PASS} ports: - "9617:9617" node-exporter: image: prom/node-exporter:latest container_name: node-exporter restart: always ports: - "9100:9100" cadvisor: image: gcr.io/cadvisor/cadvisor:latest container_name: cadvisor restart: always ports: - "8080:8080" volumes: - /:/rootfs:ro - /var/run:/var/run:ro - /sys:/sys:ro - /var/lib/docker/:/var/lib/docker:ro