Move from Full Pihole to Docker

Hi Bucking_Horn,

Had some help from the guys over in the Docker Forum:

The trick was to add a script into /etc/cont-init.d (called deploycron.sh) that ran the following:

chmod +x /opt/script/enabledisable_domainlist.sh && crontab /opt/script/cron.txt

Then under the volume section in my yml, I had the following volumes.

 volumes:
      - './etc-pihole:/etc/pihole'
      - './etc-dnsmasq.d:/etc/dnsmasq.d'
      - './opt-script/:/opt/script'
      - './cron/deploycron.sh:/etc/cont-init.d/deploycron.sh'

This seems to have added the cron job into my container to enable and disable blacklists on a specific day.

Appreciate your help!