Merge pull request #743 from e2jk/docker-hostname

Add `hostname` to docker-compose
This commit is contained in:
Adam Warner
2021-04-16 23:31:56 +01:00
committed by GitHub
3 changed files with 3 additions and 0 deletions

View File

@@ -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"