https://github.com/rvxlab/pihole-caddy-arm
Pihole, Caddy, and DDNS in Docker Compose
https://github.com/rvxlab/pihole-caddy-arm
Last synced: 5 months ago
JSON representation
Pihole, Caddy, and DDNS in Docker Compose
- Host: GitHub
- URL: https://github.com/rvxlab/pihole-caddy-arm
- Owner: RVxLab
- License: mit
- Created: 2019-09-22T11:14:01.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-22T11:38:12.000Z (almost 7 years ago)
- Last Synced: 2025-10-20T03:58:52.604Z (9 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pihole stack for ARM
This is a Docker Compose setup for running Pihole with Caddy as reverse proxy and cloudflare as DDNS provider.
Note that this image will only work on ARM based systems like the Raspberry Pi, it will **not** work on x64 based systems.
## Setup
Clone this repo, copy the example files to the non-example counterparts:
```
.env.example > .env
caddy/Caddyfile.example > caddy/Caddyfile
```
Keep in mind that there is no password set by default, make sure to set it to something if you so wish.
After setting that up, just run `docker-compose up -d` to get everything running.
## Custom DNS entries
Adding custom DNS entries can be done by creating a file in `pihole/dnsmaqs/`, I recommend you name that `99-custom.conf` to avoid any conflicts.
Then add the entries like so:
```
address=/subdomain.your-awesome-domain.tld/the-ip-address-of-your-awesome-server
```
Then run `docker-compose exec pihole pihole restartdns`.