fix Pi-hole typos

This commit is contained in:
OCram85 2022-03-07 18:56:06 +01:00
parent c34c96a13a
commit 1c14797736

View File

@ -1,5 +1,5 @@
--- ---
title: 'Run Pi-Hole as Docker Swarm Stack' title: 'Run Pi-hole as Docker Swarm Stack'
date: 2022-01-28T08:54:43+01:00 date: 2022-01-28T08:54:43+01:00
draft: false draft: false
categories: ['Docker'] categories: ['Docker']
@ -20,11 +20,11 @@ tags: ['pihole', 'swarm', 'stack']
## Intro ## Intro
Many of you already know [Pi-Hole](https://pi-hole.net/) as a trusted DNS firewall solution in your home labs. But Many of you already know [Pi-hole](https://pi-hole.net/) as a trusted DNS firewall solution in your home labs. But
what if your home lab should just provide containerized services? - I know, running Pi-Hole as a container isn't what if your home lab should just provide containerized services? - I know, running Pi-hole as a container isn't
new. In fact, the developer community already provides [official images](https://hub.docker.com/r/pihole/pihole). new. In fact, the developer community already provides [official images](https://hub.docker.com/r/pihole/pihole).
In this post I want to show you why you should run Pi-Hole (or even every container) in a docker swarm configuration In this post I want to show you why you should run Pi-hole (or even every container) in a docker swarm configuration
as a defined stack. as a defined stack.
So let's begin with some worts about the Docker Swarm Mode. So let's begin with some worts about the Docker Swarm Mode.
@ -49,7 +49,7 @@ On the other hand, Kubernetes isn't always needed and comes not only with mor fe
knowledge about the underlying techniques and faces you with much more challenges. knowledge about the underlying techniques and faces you with much more challenges.
{{< /alert >}} {{< /alert >}}
### Pi-Hole Stack ### Pi-hole Stack
I use [traefik](https://traefik.io/traefik/) on my docker swarm clusters as reverse proxy. Like every reverse proxy I use [traefik](https://traefik.io/traefik/) on my docker swarm clusters as reverse proxy. Like every reverse proxy
traefik handles the request and routes it to to the target service. It terminates the https traffic and manages the traefik handles the request and routes it to to the target service. It terminates the https traffic and manages the
@ -125,5 +125,5 @@ if there is no other process already using the listed ports.
Additionally you have to set `Permit all origins` option under `Settings` -> `DNS tab` -> `Interface settings`. Additionally you have to set `Permit all origins` option under `Settings` -> `DNS tab` -> `Interface settings`.
That's it. Now you're running Pi-Hole as a docker swarm service as DNS Server. You can now start defining your That's it. Now you're running Pi-hole as a docker swarm service as DNS Server. You can now start defining your
Pi-Hole groups and filter the clients. Pi-hole groups and filter the clients.