Skip to content

Commit def12e9

Browse files
authored
Merge pull request SensorsIot#315 from Paraphraser/20210410-adguardhome-oldmenu
Adds service definition for AdGuard Home - old menu (2 of 2)
2 parents e3586d7 + a7651f2 commit def12e9

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.templates/adguardhome/service.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
adguardhome:
2+
container_name: adguardhome
3+
image: adguard/adguardhome
4+
restart: unless-stopped
5+
environment:
6+
- TZ=Etc/UTC
7+
# enable host mode to activate DHCP server on ports 67/udp & 68/tcp+udp
8+
# note that you must also disable all other ports if you enable host mode
9+
# network_mode: host
10+
ports:
11+
# regular DNS
12+
- "53:53/tcp"
13+
- "53:53/udp"
14+
# administration port (http)
15+
# note: external and internal ports MUST be the same
16+
# not active until defined via setup port
17+
- "8089:8089/tcp"
18+
# HTTPS/DNS-over-HTTPS
19+
# - "443:443/tcp"
20+
# DNS-over-QUIC
21+
# - "784:784/udp"
22+
# DNS-over-TLS
23+
# - "853:853/tcp"
24+
# setup (http)
25+
# note: only active until port 8089 becomes active
26+
- "3001:3000/tcp"
27+
# DNSCrypt
28+
# - "5443:5443/tcp"
29+
# - "5443:5443/udp"
30+
volumes:
31+
- ./volumes/adguardhome/workdir:/opt/adguardhome/work
32+
- ./volumes/adguardhome/confdir:/opt/adguardhome/conf

menu.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ declare -A cont_array=(
3737
[openhab]="openHAB"
3838
[zigbee2mqtt]="zigbee2mqtt"
3939
[deconz]="deCONZ"
40+
[adguardhome]="AdGuard Home"
4041
[pihole]="Pi-Hole"
4142
[plex]="Plex media server"
4243
[tasmoadmin]="TasmoAdmin"
@@ -80,6 +81,7 @@ declare -a armhf_keys=(
8081
"openhab"
8182
"zigbee2mqtt"
8283
"deconz"
84+
"adguardhome"
8385
"pihole"
8486
"plex"
8587
"tasmoadmin"

0 commit comments

Comments
 (0)