Guest User

Untitled

a guest
Dec 5th, 2016
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. version: '2'
  2.  
  3. services:
  4.  
  5. sabnzbd:
  6. image: 'linuxserver/sabnzbd'
  7. container_name: 'sabnzbd'
  8. ports:
  9. - '30003:8080'
  10. # - '40004:9090'
  11. volumes:
  12. - '/var/opt/dockers/sabnzbd/config:/config'
  13. - '/var/opt/dockers/sabnzbd/downloads:/downloads'
  14. - '/var/opt/dockers/sabnzbd/incomplete-downloads:/incomplete-downloads'
  15. environment:
  16. PROXY_LOCATION: sabnzbd
  17. VIRTUAL_HOST: sabnzbd.htpc.lan
  18. VIRTUAL_PORT: 30003
  19. restart: always
  20.  
  21. proxy:
  22. image: 'jwilder/nginx-proxy'
  23. container_name: 'nginx-proxy'
  24. ports:
  25. - '80:80'
  26. # - '443:443'
  27. volumes:
  28. - '/var/run/docker.sock:/tmp/docker.sock:ro'
  29. environment:
  30. DEFAULT_HOST: pihole.htpc.lan
  31. restart: always
  32.  
  33. pihole:
  34. image: 'diginc/pi-hole:alpine'
  35. container_name: 'pi-hole'
  36. ports:
  37. - '53:53/tcp'
  38. - '53:53/udp'
  39. - '8053:80/tcp'
  40. volumes:
  41. - '/var/log/pihole.log:/var/log/pihole.log'
  42. #net: host
  43. cap_add:
  44. - NET_ADMIN
  45. environment:
  46. ServerIP: 192.168.1.124
  47. PROXY_LOCATION: pihole
  48. VIRTUAL_HOST: pihole.htpc.lan
  49. VIRTUAL_PORT: 80
  50. extra_hosts:
  51. # Resolve to nothing domains (terminate connection)
  52. - 'nw2master.bioware.com nwn2.master.gamespy.com:0.0.0.0'
  53. # LAN hostnames for other docker containers using jwilder
  54. - 'htpc.lan:192.168.1.124'
  55. - 'pihole pihole.htpc.lan:192.168.1.124'
  56. # - 'sabnzbd sabnzbd.htpc.lan:192.168.1.124'
  57. # - 'couchpotato couchpotato.htpc.lan:192.168.1.124'
  58. # - 'sonarr sonnar.htpc.lan:192.168.1.124'
  59. # - 'headphones headphones.htpc.lan:192.168.1.124'
  60. # - 'rtorrent rtorrent.htpc.lan:192.168.1.124'
  61. # - 'nextcloud nextcloud.htpc.lan:192.168.1.124'
  62. # - 'madsonic madsonic.htpc.lan:192.168.1.124'
  63. restart: always
Add Comment
Please, Sign In to add comment