Ok, this is my pihole for forum.txt file, that you need to copy and edit acording your needs:
note that yaml file is a bit especial, pleae DO NOT USE TAB, use only SPACES on IT or do not work.
and Thanks to tonylawrence for your reference post
# Thanks to http://tonylawrence.com/posts/unix/synology/free-your-synology-ports/ for your reference postmac_address: d0:ca:ab:cd:ef:05 # <-- Update ( must be a random MAC, because you create a virtual NIC for it)ipv4_address: 192.168.1.2 # <-- Update; must be the IP that you want to use as DNS sever ( pihole IP)
Please read about macvlan on dockers; is like if you create a virtual NIC
Now you need to create a stack like others in you install:
once you deploy the stack, you can find the recently created docker.
Notice That I need to add enviroments variables "TZ" & IPv6 into webGUI and not in the pihole.yaml file, I do not know why , but it works.
Note: Because is my second attempt to use Portainer and my first attemp to use macvlan, I agree if some power user revise my work and confirm that really works.
Thanks a lot.