hacky portainerize this

This commit is contained in:
steve 2024-07-27 03:47:24 +00:00
parent f441d3d952
commit d9ebd99bd9

View File

@ -11,8 +11,7 @@ services:
environment: environment:
- TZ=${TIMEZONE} - TZ=${TIMEZONE}
- CORS_HOSTS=pihole.${DOMAIN_ROOT} - CORS_HOSTS=${CORS_HOSTS}
- DOMAIN_ROOT=${DOMAIN_ROOT}
- WEBPASSWORD=${WEB_UI_PASSWORD} - WEBPASSWORD=${WEB_UI_PASSWORD}
network_mode: host network_mode: host
@ -22,7 +21,7 @@ services:
volumes: volumes:
- pihole-config_data:/etc/pihole - pihole-config_data:/etc/pihole
- pihole-dnsmasq_data:/etc/dnsmasq.d - pihole-dnsmasq_data:/etc/dnsmasq.d
- ./pihole-lighttpd.conf:/etc/lighttpd/lighttpd.conf - /home/steve/nuc/pihole/pihole-lighttpd.conf:/etc/lighttpd/lighttpd.conf
cap_add: cap_add:
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed - NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed