version: "3.9" services: netdata: image: git.nixc.us/colin/netdata:production-parent # hostname: "netdata-parent" environment: - VIRTUAL_HOST=netdata.nixc.us - VIRTUAL_PORT=19999 volumes: - /proc:/host/proc:ro - /sys:/host/sys:ro - /var/run/docker.sock:/var/run/docker.sock:ro - /mnt/tank/persist/nixc.us/netdata/production/data:/var/lib/netdata networks: - netdata-network - traefik dns: - 1.1.1.1 - 9.9.9.9 deploy: placement: constraints: - node.hostname == macmini14 labels: traefik.enable: "true" traefik.http.routers.production-netdata.rule: "Host(`netdata.nixc.us`)" traefik.http.services.production-netdata.loadbalancer.server.port: "19999" traefik.http.routers.production-netdata.entrypoints: "websecure" traefik.http.routers.production-netdata.tls.certresolver: "letsencryptresolver" traefik.http.routers.production-netdata.service: "production-netdata" traefik.http.routers.production-netdata.middlewares: "authelia_authelia@docker" traefik.docker.network: "traefik" child: image: git.nixc.us/colin/netdata:production-child hostname: "{{.Node.Hostname}}" volumes: - /proc:/host/proc:ro - /sys:/host/sys:ro - /var/run/docker.sock:/var/run/docker.sock:ro networks: - netdata-network deploy: mode: global networks: traefik: external: true netdata-network: driver: overlay