2016-03-29 04:42:11 +02:00
|
|
|
applist:
|
|
|
|
image: jwilder/nginx-proxy
|
|
|
|
ports:
|
|
|
|
- '80:80'
|
|
|
|
environment:
|
|
|
|
DEFAULT_HOST: pihole.yourDomain.lan
|
|
|
|
volumes:
|
|
|
|
- '/var/run/docker.sock:/tmp/docker.sock'
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
pihole:
|
2018-01-04 03:09:47 +01:00
|
|
|
image: diginc/pi-hole:latest
|
2016-03-29 04:42:11 +02:00
|
|
|
ports:
|
|
|
|
- '53:53/tcp'
|
|
|
|
- '53:53/udp'
|
|
|
|
- '8053:80/tcp'
|
|
|
|
volumes:
|
|
|
|
- '/var/log/pihole.log:/var/log/pihole.log'
|
|
|
|
#net: host
|
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
|
|
|
environment:
|
2016-04-26 14:46:27 +02:00
|
|
|
ServerIP: 192.168.41.55
|
2016-03-29 04:42:11 +02:00
|
|
|
PROXY_LOCATION: pihole
|
|
|
|
VIRTUAL_HOST: pihole.yourDomain.lan
|
|
|
|
VIRTUAL_PORT: 80
|
|
|
|
extra_hosts:
|
|
|
|
# Resolve to nothing domains (terminate connection)
|
|
|
|
- 'nw2master.bioware.com nwn2.master.gamespy.com:0.0.0.0'
|
|
|
|
# LAN hostnames for other docker containers using jwilder
|
|
|
|
- 'yourDomain.lan:192.168.41.55'
|
|
|
|
- 'pihole pihole.yourDomain.lan:192.168.41.55'
|
|
|
|
- 'ghost ghost.yourDomain.lan:192.168.41.55'
|
|
|
|
- 'wordpress wordpress.yourDomain.lan:192.168.41.55'
|
|
|
|
restart: always
|
2016-09-24 04:24:14 +02:00
|
|
|
|
|
|
|
# Another container you might want to have running through the proxy
|
|
|
|
# Note it also have ENV Vars like pihole and a host under pihole's extra_hosts
|
|
|
|
#ghost:
|
|
|
|
# image: fractalf/ghost
|
|
|
|
# ports:
|
|
|
|
# - '2368:2368/tcp'
|
|
|
|
# volumes:
|
|
|
|
# - '/etc/ghost/:/ghost-override'
|
|
|
|
# environment:
|
|
|
|
# PROXY_LOCATION: ghost
|
|
|
|
# VIRTUAL_HOST: ghost.yourDomain.lan
|
|
|
|
# VIRTUAL_PORT: 2368
|
|
|
|
# restart: always
|