Skip to content

Instantly share code, notes, and snippets.

@BastienM
Last active September 17, 2016 21:40
Show Gist options
  • Save BastienM/035d93d491e0293e12004a412c1e78b7 to your computer and use it in GitHub Desktop.
Save BastienM/035d93d491e0293e12004a412c1e78b7 to your computer and use it in GitHub Desktop.
nzb toolbelt on docker, replace UID/GID with the user's whom launch the containers
version: '2'
services:
nzbget:
image: linuxserver/nzbget
restart: 'always'
container_name: nzbget
networks:
- nzbget-tier
ports:
- "6789:6789"
environment:
- PUID=1001
- PGID=1001
- TZ=Europe/Paris
volumes:
- /home/docker/nzbget_data:/config
- /media/home-storage/download:/downloads
sonarr:
image: linuxserver/sonarr
restart: 'always'
container_name: sonarr
networks:
- nzbget-tier
- plex-tier
ports:
- "8989:8989"
environment:
- PUID=1001
- PGID=1001
volumes:
- /dev/rtc:/dev/rtc:ro
- /home/docker/sonarr_data:/config
- /media/home-storage/serie:/tv
- /media/home-storage/download:/downloads
potato:
image: linuxserver/couchpotato
restart: 'always'
container_name: couchpotato
networks:
- nzbget-tier
- plex-tier
ports:
- "5050:5050"
environment:
- PUID=1001
- PGID=1001
- TZ=Europe/Paris
volumes:
- /home/docker/couchpotato_data:/config
- /media/home-storage/movie:/movies
- /media/home-storage/download:/downloads
#headphones:
# image: linuxserver/headphones
# restart: 'always'
# container_name: headphones
# networks:
# - nzbget-tier
# ports:
# - "8181:8181"
# environment:
# - PGID=1001
# - PUID=1001
# - TZ=Europe/Paris
# volumes:
# - /home/docker/headphones_data:/config
# - /media/home-storage/download:/downloads
# - /media/home-storage/music/Bastien:/music
plex:
image: linuxserver/plex
restart: 'always'
container_name: plex
network_mode: 'host'
#networks:
# - plex-tier
#ports:
#- "32400:32400"
#- "32400:32400/udp"
#- "32469:32469"
#- "32469:32469/udp"
#- "5353:5353/udp"
#- "1900:1900/udp"
environment:
- VERSION=latest
- PUID=1001
- PGID=1001
volumes:
- /home/docker/plex_data:/config
- /media/home-storage/serie:/data/tvshows
- /media/home-storage/movie:/data/movies
- /media/home-storage/music:/data/music
- /home/docker/plex_transc:/transcode
networks:
nzbget-tier:
driver: bridge
plex-tier:
driver: bridge
@BastienM
Copy link
Author

Still has some issue with Plex, not using the network=host directive results on the container giving its internal Docker's ip instead of the "public ip".

Which means that the Plex's servers doesn't recognize the associated token's ip when trying to access the containerized server through the apps :|

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