Revert "Add `hostname` to docker-compose"

This commit is contained in:
Adam Warner 2021-04-17 00:53:51 +01:00 committed by GitHub
parent dba2317072
commit 59c08f36ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 3 deletions

View File

@ -18,7 +18,6 @@ services:
pihole: pihole:
container_name: pihole container_name: pihole
image: pihole/pihole:latest image: pihole/pihole:latest
hostname: pi.hole
ports: ports:
- "53:53/tcp" - "53:53/tcp"
- "53:53/udp" - "53:53/udp"

View File

@ -5,7 +5,6 @@ version: "3"
services: services:
jwilder-proxy: jwilder-proxy:
image: jwilder/nginx-proxy image: jwilder/nginx-proxy
hostname: pihole.yourDomain.lan
ports: ports:
- '80:80' - '80:80'
environment: environment:

View File

@ -6,7 +6,6 @@ services:
pihole: pihole:
container_name: pihole container_name: pihole
image: pihole/pihole:latest image: pihole/pihole:latest
hostname: pi.hole
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host" # For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
ports: ports:
- "53:53/tcp" - "53:53/tcp"