Skip to content

Instantly share code, notes, and snippets.

@KingPin
Last active November 25, 2023 18:36
Show Gist options
  • Save KingPin/406c8732a0190cce28e65cd5cd4d743a to your computer and use it in GitHub Desktop.
Save KingPin/406c8732a0190cce28e65cd5cd4d743a to your computer and use it in GitHub Desktop.
jellyfin podlink rclone compose file
version: "3"
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- JELLYFIN_PublishedServerUrl=192.168.0.5 # set this to whatever url you will use to access jellyfin
depends_on:
- rclone
volumes:
- ./jellyfin:/config
- ./tvseries:/data/tvshows
- ./movies:/data/movies
ports:
- 8096:8096
# - 8920:8920 #optional
# - 7359:7359/udp #optional
# - 1900:1900/udp #optional
restart: unless-stopped
networks:
- net
podlink:
# git clone https://github.com/SushyDev/pod-link.git podlink/src
# get https://raw.githubusercontent.com/SushyDev/pod-link/main/config.yml.example
# rename it to config.yml and put it in ./podlink/ folder
build:
context: podlink/src
dockerfile: Dockerfile
container_name: podlink
restart: unless-stopped
volumes:
- ./podlink/config.yml:/app/config.yml
networks:
- net
rclone:
container_name: rclone
image: ghcr.io/kingpin/rclone:latest
volumes:
# put rclone.config file in ./rclone/config folder
- ./rclone/config:/config
- ./rclone/log:/log
- ./rclone/rd_cache:/cache
- ./rclone/mnt:/data:shared
command: 'mount realdebrid: /data --allow-other --allow-non-empty --rc'
environment:
- TZ=Etc/UTC
- RD_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- RCLONE_UID=1000
- RCLONE_GID=1000
- RCLONE_CONFIG=/config/rclone.config
- RCLONE_DIR_CACHE_TIME=10s
- RCLONE_READ_ONLY=true
- RCLONE_BUFFER_SIZE=2G
- RCLONE_VFS_FAST_FINGERPRINT=true
- RCLONE_VFS_CASE_INSENSITIVE=true
- RCLONE_VFS_READ_AHEAD=24M
- RCLONE_CUTOFF_MODE=cautious
- RCLONE_ATTR_TIMEOUT=10s
- RCLONE_CACHE_DIR=/cache
- RCLONE_LOG_LEVEL=ERROR
- RCLONE_LOG_FILE=/config/rclone.log
- RCLONE_MIN_SIZE=55M
- RCLONE_EXCLUDE=*.nfo,*.txt,*.jpg,*.png,*.rar,*.sfv,*.par2,*.srr,*.md5,*.sha1,*.torrent
devices:
- /dev/fuse:/dev/fuse:rwm
cap_add:
- SYS_ADMIN
security_opt:
- apparmor:unconfined
- no-new-privileges
networks:
- net
jellyseerr:
image: fallenbagel/jellyseerr:latest
container_name: jellyseerr
restart: unless-stopped
volumes:
- ./jellyseerr:/app/config
- ./jellyseerr_logos/:/app/public
ports:
- "5055:5055"
environment:
- TZ=Etc/UTC
- RCLONE_UID=1000
- RCLONE_GID=1000
- JELLYFIN_TYPE=JELLYFIN
networks:
- net
networks:
net:
[realdebrid]
type = realdebrid
api_key = XXXXXX
sort_file = /config/sorting.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment