-
-
Save rickrussell/56913fae3df98b5a75f8c605397082ad to your computer and use it in GitHub Desktop.
LinuxServer Docker Compose: Plex, Sonarr, Radarr, NZBGet, Let's Encrypt, Time Machine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
plex: | |
image: linuxserver/plex | |
container_name: plex | |
volumes: | |
- /path/to/plex/config:/config | |
- /path/to/plex/Movies:/data/movies | |
- /path/to/plex/Shows:/data/tvshows | |
- /path/to/plex/transcode:/data/transcode | |
network_mode: host | |
restart: always | |
environment: | |
- VERSION=latest | |
- TZ=America/New_York | |
nzbget: | |
image: linuxserver/nzbget | |
container_name: nzbget | |
volumes: | |
- /path/to/nzbget/config:/config | |
- /path/to/nzbget/downloads:/downloads | |
restart: always | |
environment: | |
- TZ=America/New_York | |
ports: | |
- 6789:6789 | |
sonarr: | |
image: linuxserver/sonarr | |
container_name: sonarr | |
depends_on: | |
- nzbget | |
volumes: | |
- /path/to/sonarr/config:/config | |
- /path/to/nzbget/downloads:/downloads | |
- /path/to/plex/Shows:/tv | |
environment: | |
- TZ=America/New_York | |
ports: | |
- 8989:8989 | |
radarr: | |
image: linuxserver/radarr | |
container_name: radarr | |
depends_on: | |
- nzbget | |
volumes: | |
- /path/to/radarr/config:/config | |
- /path/to/nzbget/downloads:/downloads | |
- /path/to/plex/Movies:/movies | |
environment: | |
- TZ=America/New_York | |
ports: | |
- 7878:7878 | |
letsencrypt: | |
image: linuxserver/letsencrypt | |
container_name: letsencrypt | |
ports: | |
- 443:443 | |
# Only for validation, redirect all http traffic to https in config | |
- 80:80 | |
volumes: | |
- /path/to/letsencrypt/config:/config | |
restart: always | |
depends_on: | |
- nzbget | |
- sonarr | |
- radarr | |
environment: | |
- TZ=America/New_York | |
- [email protected] | |
- URL=your.domain | |
- SUBDOMAINS=services | |
- ONLY_SUBDOMAINS=true | |
# tns validation doesn't work | |
- VALIDATION=http | |
# Still requires user to be added. See github for more details | |
timemachine: | |
image: odarriba/timemachine | |
container_name: timemachine | |
restart: unless-stopped | |
volumes: | |
- /path/to/timemachine:/timemachine | |
ports: | |
- 548:548 | |
- 636:636 | |
environment: | |
- AFP_SIZE_LIMIT=250000 | |
- AFP_NAME=Backups | |
portainer: | |
image: portainer/portainer | |
container_name: portainer | |
ports: | |
- 9000:9000 | |
volumes: | |
- /path/to/portainer:/data | |
- /var/run/docker.sock:/var/run/docker.sock | |
restart: always | |
watchtower: | |
image: v2tec/watchtower | |
container_name: watchtower | |
restart: always | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment