https://github.com/deilucri/pihole-nas-syno
Docker file with macvlan network of pihole service for server nas-synology
https://github.com/deilucri/pihole-nas-syno
docker-compose pihole synology-nas
Last synced: 8 months ago
JSON representation
Docker file with macvlan network of pihole service for server nas-synology
- Host: GitHub
- URL: https://github.com/deilucri/pihole-nas-syno
- Owner: DeiLucri
- Created: 2024-03-22T11:52:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-22T13:31:06.000Z (over 1 year ago)
- Last Synced: 2025-04-07T02:47:14.091Z (8 months ago)
- Topics: docker-compose, pihole, synology-nas
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker-compose file for creating a pihole container on a synology nas with macvlan network
## SSH
1. Create the folders needed for pihole, generally on Syno NAS, the docker directory is /volume1/docker/
```bash
cd /volume1/docker && mkdir -p pihole/{pihole,dnsmasq.d}
```
2. Download docker-compose.yml to /volume1/docker/pihole
```bash
cd /volume1/docker/pihole && curl -o docker-compose.yml https://raw.githubusercontent.com/DeiLucri/pihole-nas-syno/main/docker-compose.yml
```
3. Modify the file to change the macvlan network, container ip address, password and TimeZone
4. Create the container
```bash
sudo docker-compose up -d
```
5. Connect via IP and port set on web browser
## Notes :
- On the synology nas server, do not modify the DNS server and indicate the Pihole container. *By default, the Pi-hole container is isolated from the host network, which means it cannot communicate directly with the NAS. This is a security feature of macvlan networks**