Nur die Compose-Datei. Eingebunden im Portainer als Stack. Einstellungen Persistent.
Für diese Konfiguration muss VLAN vorhanden sein.
name: pihole-unbound
services:
pihole-unbound:
container_name: pihole-unbound
environment:
TZ: Europe/Berlin
WEBPASSWORD: 'PASSWORT'
image: rlabinc/pihole-unbound:latest
volumes:
- type: bind
source: /var/lib/Pihole
target: /etc/pihole
bind:
create_host_path: true
networks:
default:
ipv4_address: 192.168.60.90
restart: unless-stopped
networks:
default:
name: meinmacvlan60
external: true
.
Quelle: