Skip to content

Instantly share code, notes, and snippets.

@markwhat1
Last active January 10, 2018 04:07
Show Gist options
  • Save markwhat1/3db568522e490fe2f11f4c7c7acb1156 to your computer and use it in GitHub Desktop.
Save markwhat1/3db568522e490fe2f11f4c7c7acb1156 to your computer and use it in GitHub Desktop.
Forked option with nginx-proxy and Let's Encrypt setup
version: '2'
services:
nginx-proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
restart: always
network_mode: ME_default
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- /usr/share/nginx/html
- /.dockerconfig/nginx/vhost.d:/etc/nginx/vhost.d
- /.dockerconfig/nginx/certs:/etc/nginx/certs:ro
- /etc/nginx/vhost.d
ports:
- 80:80
- 443:443
nginx-proxy-ssl:
image: jrcs/letsencrypt-nginx-proxy-companion
container_name: nginx-proxy-ssl
restart: always
network_mode: ME_default
volumes_from:
- nginx-proxy
volumes:
- /.dockerconfig/nginx/certs:/etc/nginx/certs:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
depends_on:
- nginx-proxy
nzbget:
image: linuxserver/nzbget
container_name: nzbget
restart: always
hostname: nzbget
environment:
- PUID=108
- PGID=115
- VIRTUAL_HOST=nzb.DOMAIN.COM
volumes:
- /etc/localtime:/etc/localtime:ro
- /.dockerconfig/nzbget:/config
- /media/complete:/complete
depends_on:
- nginx-proxy
sonarr:
image: linuxserver/sonarr
container_name: sonarr
restart: always
hostname: sonarr
environment:
- PUID=108
- PGID=115
- VIRTUAL_HOST=sonarr.DOMAIN.COM
- LETSENCRYPT_HOST=sonarr.DOMAIN.COM
- [email protected]
volumes:
- /dev/rtc:/dev/rtc:ro
- /.dockerconfig/sonarr:/config
- /media/complete:/complete
- /media/video/tv:/tv
depends_on:
- nzbget
radarr:
image: linuxserver/radarr
container_name: radarr
restart: always
hostname: radarr
environment:
- PUID=108
- PGID=115
- VIRTUAL_HOST=radarr.DOMAIN.COM
- LETSENCRYPT_HOST=radarr.DOMAIN.COM
- [email protected]
volumes:
- /dev/rtc:/dev/rtc:ro
- /.dockerconfig/radarr:/config
- /media/complete:/complete
- /media/video/movies:/movies
depends_on:
- nzbget
beets:
image: linuxserver/beets
container_name: beets
hostname: beets
environment:
- PUID=108
- PGID=115
volumes:
- /etc/localtime:/etc/localtime:ro
- /.dockerconfig/beets:/config
- /media/complete/audio:/downloads
- /media/music:/music
transmission:
image: linuxserver/transmission
container_name: transmission
restart: always
hostname: transmission
environment:
- PUID=108
- PGID=115
- VIRTUAL_HOST=transmission.DOMAIN.COM
- VIRTUAL_PORT=9091
- LETSENCRYPT_HOST=transmission.DOMAIN.COM
- [email protected]
volumes:
- /.dockerconfig/transmission:/config
- /media/complete/torrent:/downloads
ports:
- 51413:51413
- 51413:51413/udp
lazy:
image: linuxserver/lazylibrarian
container_name: lazy
restart: always
hostname: lazy
environment:
- PUID=108
- PGID=115
- VIRTUAL_HOST=lazy.DOMAIN.COM
- LETSENCRYPT_HOST=lazy.DOMAIN.COM
- [email protected]
volumes:
- /.dockerconfig/lazy:/config
- /media/complete/books:/downloads
- /media/books:/books
- /media/magazines:/magazines
depends_on:
- nzbget
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment