Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
cloudblock
Cloudblock deploys secure ad-blocking and VPN for all devices. Text and video guides included! 6 supported cloud providers, plus Ubuntu and Raspberry Pi. Cloudblock deploys Wireguard VPN, Pi-Hole DNS Ad-blocking, and DNS over HTTPS in a cloud provider - or locally - using Terraform and Ansible.
version: "3" services: cloudflared: image: crazymax/cloudflared:latest container_name: cloudflared ports: - "5053:5053/udp" #this is right? - "49312:49312/tcp" environment: - "TZ=Europe/Rome" - "TUNNEL_DNS_UPSTREAM=https://1.1.1.1/dns-query" restart: unless-stopped pihole: container_name: pihole image: pihole/pihole:latest depends_on: - cloudflared # network_mode: "host" ports: - "53:53/tcp" - "53:53/udp" #- "67:67/udp" dhcp port - "8080:80/tcp" environment: TZ: '' WEBPASSWORD: 'ops' ServerIP: 'HERE_THE_IP OF THE VPS, RIGHT?!?!?' PIHOLE_DNS_: '127.0.0.1#5053' #this is right? # Volumes store your data between container upgrades volumes: - './pihole/etc-pihole/:/etc/pihole/' - './pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/' # Recommended but not required (DHCP needs NET_ADMIN) # https://github.com/pi-hole/docker-pi-hole#note-on-capabilities cap_add: # - NET_ADMIN - NET_BIND_SERVICE restart: unless-stopped
Not an exact fix to your existing setup per se but replacing pihole/cloudflared with Adguard Home would give you the same functionality (better, imo) in a simpler topology.
ok.. but wait, solution 2 cannot be applied, I mean... the cert/key are used for tls/DoH too if I do not put them, I cannot save. I think I should do something like this https://github.com/ameshkov/legoagh... in the container.
This: https://github.com/chadgeary/cloudblock