How to Install Pihole on OpenMediaVault (OMV) 5

preview_player
Показать описание
In this video we'll look at How to Install Pihole on OpenMediaVault (OMV) 5.

First things first, you'll need to change your OMV port from 80 to 81 so that Pihole can be on port 80. This is important for setting up DNS later as we can’t add a port number to DNS.

Docker has to be in Swarm Mode. Changing to Swarm Mode SHOULDN’T affect pre-existing containers. I’ve tested a few with positive results.

More info about Docker Swarm:

First, setup Docker Swarm:
- docker swarm init
- Reboot

Change permissions of Config folder in shares:
- chmod -R ugo+rwx Config
- create Pihole folder
- create etc-pihole folder in Pihole folder
- create ect-dnsmasq.d folder in Pihole folder

Add stack to Portainer (Download/Copy Schema from here):

Moving forward, Portainer won't accept Version “2” schemas - You'll have to change “2” to “3”

You may also gave to manually create folders when creating containers

Pihole won’t show IP addresses of individual clients on the network. It will only show the IP Pihole created for the virtual network.

Queries and Clients charts won’t show anything for a bit. Takes time for some reason. Give it about 20 minutes and they should show up.

/=========================================/

Here's my Amazon Influencer Shop Link:

/=========================================/

Like what I do? Want to be generous and help support my channel? Here are some ways to support:

/=========================================/

Remember to leave a like on this video and subscribe if you want to see more!

/=========================================/

Follow Me:

#Pihole #PiholeOnOMV #PiholeOpenMediaVault
Рекомендации по теме
Комментарии
Автор

Quick update - since Portainer 2.1.1 you no longer have to join/init swarm. It will nicely deploy Pihole stack without any of that fuzz.

totojejedinecnynick
Автор

I couldn't get Pihole to work in docker and had a small dedicated VM running Pihole all this time, until I saw your video by chance. Now I have the Pinhole on docker thanks to you!

chinthakamayadunne
Автор

Hey, I'm new to all this OMV thing and thanks to you I'm capable of installing everything I wanted since I read about it. I can't express my gratitude enough for doing this OMV 5 guide. I lost faith after a having a struggle and multiple try/error just by setting OMV, just to discover that all the good stuff was for version 4.
Now, I just wanted to warn you about a typo in the description of the video.
On the "permissions section" of the instructions says:
"- create ect-dnsmasq.d folder in Pihole folder"
there should say "etc". The line is right on the google doc, but since the creation of this folder is previous to compiling the stack it could cause trouble just like it happened to me.
As I said, thank you so much for this guides.

TheConstant
Автор

Great Docker OMV content many thanks. With docker on OMV there are always more things to do to improve the setup, and your videos are really very well researched many thanks for great inspiration. Installing PiHole however will bring the entire network to its knees every time you re-boot OMV (which does happen) . So based on the information provided here I decided in the end to install PiHole on a dedicated Pi3. It just sits there and provides stability. Putting PiHole on OMV for just PiHole is an overkill really, so I vote for a dedicated Pi for PiHole.

michaelwhite
Автор

Thank you for making all these specific OMV Portainer videos, as I love OMV and Portainer, and getting this up and running was a no-brainer! But thanks for all that you do!

anglerpocky
Автор

Thanks for this. The tip about port 80 is the one step that I didn't see in any other instructions, and was the one thing holding me back.

karenruth
Автор

awesome, i failed to get it working properly in my last attempt. your guides always are so complete and thorough, I'm sure I will get it working this time.
Thank you.

Latinkuro
Автор

I failed several times in the past, but thanks to this video I succeeded for the first time in doing this. Thanks a bunch!

Smogshaik
Автор

Thank you for the help, I wouldn't have been able to get it running with this video.

Jamxknife
Автор

Thank you! I was able to use this tutorial to install Pi-hole using Portainer (without join/init swarm) on my Odroid HC2!

SarahPoulin
Автор

Hi DB Tech, I love your video series on raspberry pi and looking forward to finish watching it and build myself great home server.

JaydeepPatel
Автор

@DB Tech I have the /sharedfolders/config with the Pihole folder and subfolders ready. But, I am using ubuntu not OVM how to I set the path for the volumes? when I hit deploy is rejecting everything in the status.

Автор

created Plex and Pihole thanks to u .. OMV5 nice alternative to unraid. Love from India

HimanshuSharmazzzz
Автор

Was there a reason it needed to be set to swarm? I'm able to get it up and running without setting docker to swarm. The only quirk I have is load shows red.

michaeldisieno
Автор

Should there be a new container created everytime I restart the machine? Also, the first time I did follow ​ @DB Tech instruction it showed the container as 'running' the duplicated containers (a new one every reboot) show as 'healthy'.

MrKaktusfeige
Автор

Very good and clear and quick, as always. Ads? I haven't seen them in years because I use Adguard in Firefox. I'm sure this will be a great help to others. Thanks. PS. I see you're also a cat guy. :)

jepolch
Автор

I have a question about updating pihole once new versions of FTL etc become available.
Do I assume correctly in that you can use the specific container console in portainer to do this ?

Latinkuro
Автор

thank you for your job, what i really hate about portainer is the fact i have to insert manually the basolute path, when with docker in OMV4 i could have it selected, thank you for this video anyway!

danielefabro
Автор

Hey DB Tech, I am loving your videos and have been rebuilding my whole setup using mostly your videos.... does this video still apply to OMV 6 / Docker / Portainer? I did see your note about not having to Join/init swarm, so that is good to know.

jeffreyeubanks
Автор

can you do a version please without changing the default port of OMV but by setting up a macvlan network and using that for the pihole?

andrewlaslone