From 363b9d6a2b861f781d08708f0418217c4f7de975 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 26 Feb 2024 11:41:55 -0800 Subject: [PATCH] Fix typo --- .../config/home-assistant/docker-compose.yml | 1 - wizard/config/container.sh | 35 +++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 wizard/config/container.sh diff --git a/fighter/config/home-assistant/docker-compose.yml b/fighter/config/home-assistant/docker-compose.yml index 0b2a796..0aafe3a 100644 --- a/fighter/config/home-assistant/docker-compose.yml +++ b/fighter/config/home-assistant/docker-compose.yml @@ -12,7 +12,6 @@ services: labels: - traefik.http.routers.home-assistant.rule=Host(`homeassistant.jafner.net`) - traefik.http.routers.home-assistant.tls.certresolver=lets-encrypt - - traefik.http.services. mosquitto: image: eclipse-mosquitto:latest diff --git a/wizard/config/container.sh b/wizard/config/container.sh new file mode 100644 index 0000000..404c63f --- /dev/null +++ b/wizard/config/container.sh @@ -0,0 +1,35 @@ +set container name adguard cap-add net-bind-service +set container name adguard image adguard/adguardhome:latest +set container name adguard network adguard_net address 192.168.2.3 + +set container name adguard port webui destination 80 +set container name adguard port webui protocol tcp +set container name adguard port webui source 80 + +set container name adguard port webui-tls destination 443 +set container name adguard port webui-tls protocol tcp +set container name adguard port webui-tls source 443 + +set container name adguard port setup destination 3000 +set container name adguard port setup protocol tcp +set container name adguard port setup source 3000 + +set container name adguard port dns destination 53 +set container name adguard port dns protocol tcp +set container name adguard port dns source 53 + +set container name adguard port dns-udp destination 53 +set container name adguard port dns-udp protocol udp +set container name adguard port dns-udp source 53 + +set container network adguard_net prefix 192.168.2.0/24 + +delete service dns +# deletes the following: +# set service dns forwarding allow-from '192.168.1.0/24' +# set service dns forwarding cache-size '1000000' +# set service dns forwarding listen-address '192.168.1.1' +# set service dns forwarding name-server 192.168.1.32 + +set service dhcp-server shared-network-name LAN name-server 192.168.2.3 +set system name-server 192.168.2.3 \ No newline at end of file