Skip to content

Instantly share code, notes, and snippets.

@robbmanes
Created December 23, 2024 02:10
Show Gist options
  • Save robbmanes/80a333c56cad6a0f614224e7855614f7 to your computer and use it in GitHub Desktop.
Save robbmanes/80a333c56cad6a0f614224e7855614f7 to your computer and use it in GitHub Desktop.
Media Server Containers
TZ=US/Eastern
PUID=1000
GUID=1000
PATH_MEDIA=/mnt/plex/Media
PATH_BASE_CONFIG=/mnt/plex/AppConfig
# bittorrent protocol port, tcp & udp
PORT_TORRENT=57849
# service web UI ports
PORT_FLARESOLVERR=8191
PORT_LIDARR=8686
PORT_PROWLARR=9696
PORT_QBITTORRENT=8080
PORT_RADARR=7878
PORT_SABNZBD=9119 # default was 8080
PORT_SONARR=8989
# image tags
TAG_DEFAULT=latest
TAG_FLARESOLVERR=${TAG_DEFAULT}
TAG_GLUETUN=${TAG_DEFAULT}
TAG_LIDARR=${TAG_DEFAULT}
TAG_PROWLARR=develop
TAG_QBITTORRENT=${TAG_DEFAULT}
TAG_RADARR=${TAG_DEFAULT}
TAG_SABNZBD=${TAG_DEFAULT}
TAG_SONARR=${TAG_DEFAULT}
x-media-services: &media-services
env_file: media-services.env
network_mode: service:gluetun
networks:
media-services:
enable_ipv6: false
services:
gluetun:
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
image: docker.io/qmcgaw/gluetun:latest
networks:
- media-services
env_file: gluetun.env
ports:
- ${PORT_FLARESOLVERR}:${PORT_FLARESOLVERR}/tcp
- ${PORT_LIDARR}:${PORT_LIDARR}/tcp
- ${PORT_PROWLARR}:${PORT_PROWLARR}/tcp
- ${PORT_QBITTORRENT}:${PORT_QBITTORRENT}/tcp
- ${PORT_RADARR}:${PORT_RADARR}/tcp
- ${PORT_SABNZBD}:${PORT_SABNZBD}/tcp
- ${PORT_SONARR}:${PORT_SONARR}/tcp
- ${PORT_TORRENT}:${PORT_TORRENT}/tcp
- ${PORT_TORRENT}:${PORT_TORRENT}/udp
volumes:
- ${PATH_BASE_CONFIG}/gluetun:/config:Z
flaresolverr:
<<: *media-services
image: docker.io/flaresolverr/flaresolverr:latest
volumes:
- ${PATH_BASE_CONFIG}/flaresolverr:/config:Z
- ${PATH_MEDIA}:/media:z
lidaar:
<<: *media-services
image: docker.io/linuxserver/lidarr:latest
volumes:
- ${PATH_BASE_CONFIG}/lidarr:/config:Z
- ${PATH_MEDIA}:/media:z
prowlarr:
<<: *media-services
image: docker.io/linuxserver/prowlarr:latest
volumes:
- ${PATH_BASE_CONFIG}/prowlarr:/config:Z
- ${PATH_MEDIA}:/media:z
qbittorrent:
<<: *media-services
image: docker.io/linuxserver/qbittorrent:latest
volumes:
- ${PATH_BASE_CONFIG}/qbittorrent:/config:Z
- ${PATH_MEDIA}:/media:z
radarr:
<<: *media-services
image: docker.io/linuxserver/radarr:latest
volumes:
- ${PATH_BASE_CONFIG}/radarr:/config:Z
- ${PATH_MEDIA}:/media:z
sabnzbd:
<<: *media-services
image: docker.io/linuxserver/sabnzbd:latest
volumes:
- ${PATH_BASE_CONFIG}/sabnzbd:/config:Z
- ${PATH_MEDIA}:/media:z
sonarr:
<<: *media-services
image: docker.io/linuxserver/sonarr:latest
volumes:
- ${PATH_BASE_CONFIG}/sonarr:/config:Z
- ${PATH_MEDIA}:/media:z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment