services: nginx-dnswall: build: . image: nginx-dnswall hostname: nginx-dnswall container_name: nginx-dnswall restart: always ports: - "[${IPV6}]:53:53" - target: 53 host_ip: ${IPV4} published: "53" protocol: tcp mode: host - "[${IPV6}]:53:53/udp" - target: 53 host_ip: ${IPV4} published: "53" protocol: udp mode: host - "[${IPV6}]:80:80" - target: 80 host_ip: ${IPV4} published: "80" protocol: tcp mode: host - "[${IPV6}]:443:443" - target: 443 host_ip: ${IPV4} published: "443" protocol: tcp mode: host - "[${IPV6}]:443:443/udp" - target: 443 host_ip: ${IPV4} published: "443" protocol: udp mode: host networks: nginx-net: networks: nginx-net: