Made adguard home admin port configurable.
authorLuke Hoersten <luke@hoersten.org>
Sun, 16 Aug 2020 07:40:25 -0500
changeset 134 484d4d6d24b0
parent 133 effd8e58a796
child 135 5fcc9627e7d3
Made adguard home admin port configurable.
adguard-home/defaults/main.yaml
adguard-home/templates/AdGuardHome.yaml.j2
--- a/adguard-home/defaults/main.yaml	Sat Aug 15 17:54:09 2020 -0500
+++ b/adguard-home/defaults/main.yaml	Sun Aug 16 07:40:25 2020 -0500
@@ -1,5 +1,6 @@
 ---
 
+adguard_home_port: "80"
 adguard_home_arch: "arm"
 adguard_home_tar: "https://static.adguard.com/adguardhome/release/AdGuardHome_linux_{{adguard_home_arch}}.tar.gz"
 adguard_home_data_dir: "/var/lib/AdGuardHome"
--- a/adguard-home/templates/AdGuardHome.yaml.j2	Sat Aug 15 17:54:09 2020 -0500
+++ b/adguard-home/templates/AdGuardHome.yaml.j2	Sun Aug 16 07:40:25 2020 -0500
@@ -1,5 +1,5 @@
 bind_host: 0.0.0.0
-bind_port: 80
+bind_port: {{adguard_home_port}}
 users:
 - name: admin
   password: $2a$10$Zs3krtMBhUxje0yHHIA/neADb56jsC/QlJHcjSxNVNtF72bBONJMW