nginx-dnswall/docker-compose.yml
2024-10-12 21:12:33 +02:00

44 lines
904 B
YAML

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: