diff --git a/docker-compose.yaml b/docker-compose.yaml index b3b11e5..949f0f5 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,8 +3,8 @@ version: "3" services: # More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ pihole-unbound: - image: sujiba/pihole-unbound-hyperlocal:latest - container_name: pihole-unbound + image: ${image} + container_name: ${name} hostname: ${HOSTNAME} ports: - "53:53/tcp" diff --git a/example.env b/example.env index 372ec41..ec8a6b2 100644 --- a/example.env +++ b/example.env @@ -1,5 +1,9 @@ # More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ +image=sujiba/pihole-unbound-hyperlocal:latest + +name=pihole-unbound + HOSTNAME=pihole # 80 or an alternative port if you use a reverse proxy like nginx