Skip to content

Instantly share code, notes, and snippets.

@rch317
Created April 10, 2019 23:54
Show Gist options
  • Save rch317/da97f277ad8086e5f5dc0fca06a630ec to your computer and use it in GitHub Desktop.
Save rch317/da97f277ad8086e5f5dc0fca06a630ec to your computer and use it in GitHub Desktop.
docker compose for htpc setup
version: '2'
services:
nginx-proxy:
image: jwilder/nginx-proxy:latest
container_name: nginx-proxy
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
ports:
- 80:80
restart: always
sonarr:
image: linuxserver/sonarr
container_name: sonarr
volumes:
- /opt/media/config/sonarr:/config
- /etc/localtime:/etc/localtime:ro
- /opt/media/tv:/tv
- /opt/media/download:/downloads
ports:
- 8989:8989
env_file: uidgid.env
environment:
- VIRTUAL_HOST=sonarr.robhough.home
- VIRTUAL_PORT=8989
restart: always
nzbhydra:
image: linuxserver/hydra
container_name: nzbhydra
volumes:
- /opt/media/config/nzbhydra:/config
- /opt/media/download:/downloads
- /etc/localtime:/etc/localtime:ro
ports:
- 5075:5075
env_file: uidgid.env
environment:
- VIRTUAL_HOST=nzbhydra.robhough.home
- VIRTUAL_PORT=5075
restart: always
muximux:
image: linuxserver/muximux
container_name: muximux
volumes:
- /opt/media/config/muximux:/config
- /etc/localtime:/etc/localtime:ro
env_file: uidgid.env
environment:
- VIRTUAL_HOST=muximux.robhough.home
restart: always
radarr:
image: linuxserver/radarr
container_name: radarr
volumes:
- /opt/media/config/radarr:/config
- /opt/media/movies:/movies
- /opt/media/download:/downloads
- /etc/localtime:/etc/localtime:ro
ports:
- 7878:7878
env_file: uidgid.env
environment:
- VIRTUAL_HOST=radarr.robhough.home
- VIRTUAL_PORT=7878
restart: always
ombi:
image: linuxserver/ombi
container_name: ombi
volumes:
- /opt/media/config/ombi:/config
- /etc/localtime:/etc/localtime:ro
ports:
- 3579:3579
env_file: uidgid.env
environment:
- VIRTUAL_HOST=ombi.robhough.home
- VIRTUAL_PORT=3579
restart: always
nzbget:
image: linuxserver/nzbget
container_name: nzbget
volumes:
- /opt/media/config/nzbget:/config
- /opt/media/download/completed:/complete
- /opt/media/download:/downloads
ports:
- 6789:6789
env_file: uidgid.env
environment:
- VIRTUAL_HOST=nzbget.robhough.home
- VIRTUAL_PORT=6789
restart: always
headphones:
image: linuxserver/headphones
container_name: headphones
volumes:
- /opt/media/config/headphones:/config
- /opt/media/music:/music
- /opt/media/download:/downloads
- /etc/localtime:/etc/localtime:ro
ports:
- 8181:8181
env_file: uidgid.env
environment:
- VIRTUAL_HOST=headphones.robhough.home
- VIRTUAL_PORT=8181
restart: always
jackett:
image: linuxserver/jackett
container_name: jackett
volumes:
- /opt/media/config/jackett:/config
- /opt/media/download/blackhole:/downloads
- /etc/localtime:/etc/localtime:ro
ports:
- 9117:9117
env_file: uidgid.env
environment:
- VIRTUAL_HOST=jackett.robhough.home
- VIRTUAL_PORT=9117
restart: always
@rch317
Copy link
Author

rch317 commented Apr 10, 2019

uidgid.env:

PGID=1000
PUID=1000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment