updating the docker compose examples

This commit is contained in:
diginc 2016-09-23 21:24:14 -05:00
parent db5b1c72eb
commit 8910dadfb2
2 changed files with 17 additions and 4 deletions

View File

@ -19,8 +19,7 @@ pihole:
# to your docker host ip address
- 'pihole.yourdomain.local:192.168.1.55'
volumes:
# WARNING: if these don't exist as files on the host already
# docker will try to create them as directories
# - '/etc/pihole/:/etc/pihole/'
# WARNING: if this log don't exist as a file on the host already
# docker will try to create a directory in it's place making for lots of errors
# - '/var/log/pihole.log:/var/log/pihole.log'
#- '/etc/pihole/whitelist.txt:/etc/pihole/whitelist.txt'
# - '/etc/pihole/blacklist.txt:/etc/pihole/blacklist.txt'

View File

@ -33,3 +33,17 @@ pihole:
- 'ghost ghost.yourDomain.lan:192.168.41.55'
- 'wordpress wordpress.yourDomain.lan:192.168.41.55'
restart: always
# 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