feat: add jellysweep
This commit is contained in:
36
media/jellysweep/docker-compose.yml
Normal file
36
media/jellysweep/docker-compose.yml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
jellysweep:
|
||||||
|
image: ghcr.io/jon4hz/jellysweep:latest
|
||||||
|
container_name: jellysweep
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Etc/UTC
|
||||||
|
volumes:
|
||||||
|
- ${DOCKER_PATH}/jellysweep/config.yml:/app/config.yml
|
||||||
|
- ${MEDIA_PATH}:/media
|
||||||
|
expose:
|
||||||
|
- 3002
|
||||||
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
# Traefik
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.jellysweep.rule: "Host(`jellysweep.${DOMAIN}`)"
|
||||||
|
traefik.http.routers.jellysweep.entrypoints: "https"
|
||||||
|
traefik.http.routers.jellysweep.service: "jellysweep"
|
||||||
|
traefik.http.routers.jellysweep.tls.certresolver: "cloudflare"
|
||||||
|
traefik.http.services.jellysweep.loadbalancer.server.port: "3002"
|
||||||
|
# Homepage
|
||||||
|
homepage.group: "Media"
|
||||||
|
homepage.name: "Jellysweep"
|
||||||
|
homepage.icon: "jellyfin.svg" # Using Jellyfin icon as placeholder
|
||||||
|
homepage.href: "https://jellysweep.${DOMAIN}"
|
||||||
|
homepage.description: "Jellyfin Cleanup Tool"
|
||||||
|
networks:
|
||||||
|
- traefik_public
|
||||||
|
|
||||||
|
networks:
|
||||||
|
traefik_public:
|
||||||
|
external: true
|
||||||
14
media/jellysweep/example.config.yaml
Normal file
14
media/jellysweep/example.config.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
jellyfin:
|
||||||
|
url: "http://jellyfin:8096" # Internal docker DNS if on same network, or full URL
|
||||||
|
token: "YOUR_JELLYFIN_API_KEY"
|
||||||
|
|
||||||
|
# dry_run: true # Set to false to actually delete files
|
||||||
|
|
||||||
|
# Library configuration
|
||||||
|
libraries:
|
||||||
|
- name: Movies
|
||||||
|
keep: 1
|
||||||
|
age: 30d # Delete movies older than 30 days
|
||||||
|
- name: TV Shows
|
||||||
|
keep: 1
|
||||||
|
age: 30d
|
||||||
Reference in New Issue
Block a user