Skip to content

Instantly share code, notes, and snippets.

@LeagueRaINi
Last active November 20, 2023 02:11
Show Gist options
  • Save LeagueRaINi/a5a244e487e15f946c36a8a874ebd382 to your computer and use it in GitHub Desktop.
Save LeagueRaINi/a5a244e487e15f946c36a8a874ebd382 to your computer and use it in GitHub Desktop.
docker compose file that spins up all services necessary to get a basic jellyfin instance up and running
version: "3.8"
# set the environment variable DATA_ROOT to specify where all the files are going to end up
x-environment: &common-env
TZ: Europe/Berlin # CHANGE!
PUID: 1000
PGID: 1000
services:
# Player, used to watch your content
jellyfin:
image: ghcr.io/linuxserver/jellyfin
container_name: jellyfin
environment:
<<: *common-env
volumes:
- ${DATA_ROOT}/config:/config
- ${DATA_ROOT}/media/tv:/data/tv
- ${DATA_ROOT}/media/movies:/data/movies
ports:
- 8920:8920 # Webinterface
networks:
- jellyfin-network
restart: unless-stopped
# Orchestrator, used for searching and downloading movies/series
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
environment:
<<: *common-env
volumes:
- ${DATA_ROOT}/sonarr/config:/config
- ${DATA_ROOT}/media/tv:/data/tv
- ${DATA_ROOT}/media/downloads:/data/downloads
ports:
- 8989:8989 # Webinterface
networks:
- jellyfin-network
restart: unless-stopped
# Manages indexing
jackett:
image: ghcr.io/linuxserver/jackett
container_name: jackett
environment:
<<: *common-env
volumes:
- ${DATA_ROOT}/jackett/config:/config
- ${DATA_ROOT}/media/downloads:/data/downloads
ports:
- 9117:9117 # Webinterface
networks:
- jellyfin-network
restart: unless-stopped
# Torrent downloader
deluge:
image: ghcr.io/linuxserver/deluge
container_name: deluge
environment:
<<: *common-env
volumes:
- ${DATA_ROOT}/deluge/config:/config
- ${DATA_ROOT}/media/downloads:/data/downloads
ports:
- 8112:8112 # Webinterface
- 6881:6881 # Torrent Inbound
- 6881:6881/udp # Torrent Inbound
networks:
- jellyfin-network
restart: unless-stopped
networks:
jellyfin-network:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment