Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Dockerfile #10

Open
ericfrederich opened this issue Oct 16, 2020 · 5 comments
Open

Missing Dockerfile #10

ericfrederich opened this issue Oct 16, 2020 · 5 comments

Comments

@ericfrederich
Copy link

Any chance of publishing the Dockerfile for thenetworkchuck/networkchuck_pihole?

Someone else was asking to update the version of PiHole as well.
If this was published, I'm sure you'd even get merge requests for it.

@dubbleb88
Copy link

dubbleb88 commented Oct 23, 2020

I found these settings in the bash file, is it what you are looking for?

docker run -d
--name pihole
-p 53:53/tcp -p 53:53/udp
-p 80:80
-p 443:443
-p 8080:8080
-e TZ="America/Chicago"
-v "$(pwd)/etc-pihole/:/etc/pihole/"
-v "$(pwd)/etc-dnsmasq.d/:/etc/dnsmasq.d/"
--dns=127.0.0.1 --dns=1.1.1.1
--restart=unless-stopped
thenetworkchuck/networkchuck_pihole

@ericfrederich
Copy link
Author

I found these settings in the bash file, is it what you are looking for?

No, that's how to invoke the thenetworkchuck/networkchuck_pihole image, but not the source code for it.
If the Dockerfile were published someone could do a docker build and get an up to date PiHole version without waiting for @theNetworkChuck to do it.

@ericfrederich
Copy link
Author

Made one myself, improves on several things. Next I need to publish it to Dockerhub

https://github.com/ericfrederich/fancy-pihole

@wiredyeti
Copy link

I dont know how to use that @ericfrederich

@ericfrederich
Copy link
Author

@wiredyeti you'd do a build with:

docker build -t fancy-pihole .

Then run it with something like:

docker run -d --name fancy-pihole -p 80:80 -p 443:443 -p 8080:8080 --dns=127.0.0.1 --dns=1.1.1.1 --restart=unless-stopped -e FANCY_SERVICE_SECRET=your-secret fancy-pihole

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants