Hi,
i try to get Adguard Home running inside a jail.
Used the docker template and only changed the systemd_nspawn_user_args
/etc/resolv.conf inside the jail
Added a static IP like described here.
My compose.yaml
I can access the web interface via 192.168.0.10, but if i set the DNS on my router to 192.168.0.10 or direct to my Mac under Network Settings, no website will be loaded.
Any idea?
i try to get Adguard Home running inside a jail.
Used the docker template and only changed the systemd_nspawn_user_args
Code:
systemd_nspawn_user_args=--network-macvlan=eno1
--resolv-conf=off
--system-call-filter='add_key keyctl bpf'
--bind='/mnt/tank/jailmaker/docker-data/adguard:/docker-data/adguard'/etc/resolv.conf inside the jail
Code:
nameserver 127.0.0.1 search .
Added a static IP like described here.
My compose.yaml
Code:
version: "3"
services:
adguardhome:
image: adguard/adguardhome
container_name: adguardhome
deploy:
resources:
limits:
cpus: '0.50' # max. 50%
memory: 300m
reservations:
cpus: '0.1'
memory: 100m
volumes:
- '/docker-data/adguard/conf:/opt/adguardhome/conf'
- '/docker-data/adguard/work:/opt/adguardhome/work'
ports:
# DNS
- 53:53/tcp
- 53:53/udp
# DHCP server
#- 67:67/udp
#- 68:68/tcp
#- 68:68/udp
# HTTPS/DNS-over-HTTPS
#- 443:443/tcp
# DNS-over-TLS
- 853:853/tcp
# DNS-over-QUIC
#- 784:784/udp
# DNSCrypt
#- 5443:5443/tcp
#- 5443:5443/udp
# WebUI
- 80:80/tcp
- 443:443/tcp
#- 443:443/udp
# WebUI Setup
- 3000:3000/tcp
restart: unless-stoppedI can access the web interface via 192.168.0.10, but if i set the DNS on my router to 192.168.0.10 or direct to my Mac under Network Settings, no website will be loaded.
Any idea?