mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2026-04-21 01:10:25 +01:00
Merge pull request #743 from e2jk/docker-hostname
Add `hostname` to docker-compose
This commit is contained in:
@@ -6,6 +6,7 @@ services:
|
||||
pihole:
|
||||
container_name: pihole
|
||||
image: pihole/pihole:latest
|
||||
hostname: pi.hole
|
||||
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
|
||||
ports:
|
||||
- "53:53/tcp"
|
||||
|
||||
Reference in New Issue
Block a user