Skip to content

Instantly share code, notes, and snippets.

@KristupasSavickas
Last active June 27, 2018 20:29
Show Gist options
  • Save KristupasSavickas/7bc13fdb9c71624411adbeb1967f1fc1 to your computer and use it in GitHub Desktop.
Save KristupasSavickas/7bc13fdb9c71624411adbeb1967f1fc1 to your computer and use it in GitHub Desktop.
Media server/torrent box setup with docker
version: '3'
services:
qbittorrent:
image: linuxserver/qbittorrent
container_name: qbittorrent
restart: unless-stopped
environment:
- "PUID=1001" # uid of "qbittorrent"
- "PGID=1005" # gid of "torrents"
- "UMASK_SET=022" # rwxrwxr-x
- "TZ=Europe/Vilnius"
ports:
- "6881:6881"
- "6881:6881/udp"
- "8080:8080"
volumes:
- "/opt/qbittorrent_config:/config"
- "/array/torrents/downloads:/downloads"
- "/array/torrents/torrent_files:/torrent_files"
- "/array/torrents/blackhole:/blackhole"
tmpfs:
- "/tmp"
jackett:
image: linuxserver/jackett
container_name: jackett
restart: unless-stopped
environment:
- "TZ=Europe/Vilnius"
ports:
- "9117:9117"
volumes:
- "/opt/jackett_config:/config"
tmpfs:
- "/tmp"
sonarr:
image: linuxserver/sonarr
container_name: sonarr
restart: unless-stopped
environment:
- "PUID=1002" # uid of "sonarr"
- "PGID=1006" # gid of "media"
- "TZ=Europe/Vilnius"
ports:
- "8989:8989"
volumes:
- "/opt/sonarr_config:/config"
- "/array/media/tv:/tv"
- "/array/torrents/downloads:/downloads"
tmpfs:
- "/tmp"
radarr:
image: linuxserver/radarr
container_name: radarr
restart: unless-stopped
environment:
- "PUID=1008" # uid of "radarr"
- "PGID=1006" # gid of "media"
- "TZ=Europe/Vilnius"
ports:
- "7878:7878"
volumes:
- "/opt/radarr_config:/config"
- "/array/media/movies:/movies"
- "/array/torrents/downloads:/downloads"
tmpfs:
- "/tmp"
emby:
image: emby/embyserver
container_name: emby
restart: unless-stopped
network_mode: "host" # for upnp
environment:
- "UID=1003" # uid of "emby"
- "GID=1006" # gid of "media"
volumes:
- "/opt/emby_config:/config"
- "/array/media/tv:/media/tv"
- "/array/media/movies:/media/movies"
- "/array/media/music/organized:/media/music/organized"
- "/array/media/music/not-organized:/media/music/not-organized"
tmpfs:
/tmp
syncthing:
image: linuxserver/syncthing
container_name: syncthing
restart: unless-stopped
network_mode: "host" # for device discovery
environment:
- "PUID=1009" # uid of "syncthing"
- "PGID=1006" # gid of "syncthing"
volumes:
- "/opt/syncthing_config:/config"
- "/array/media/music/organized:/mnt/music/organized"
- "/array/media/music/transcoded:/mnt/music/transcoded"
tmpfs:
/tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment