From ad6f6c4645e78e813c3c83aefdd9fd17e309e29e Mon Sep 17 00:00:00 2001 From: Viren070 Date: Tue, 6 May 2025 22:58:12 +0100 Subject: [PATCH] feat(torbox-media-center): format, add comments, add mount path env var, and add to root compose --- apps/compose.yaml | 1 + apps/torbox-media-center/.env | 13 ++++++++- apps/torbox-media-center/compose.yaml | 38 +++++++++++++-------------- 3 files changed, 32 insertions(+), 20 deletions(-) diff --git a/apps/compose.yaml b/apps/compose.yaml index ee0c352..7e78c96 100644 --- a/apps/compose.yaml +++ b/apps/compose.yaml @@ -51,6 +51,7 @@ include: - tautulli/compose.yaml - tmdb-addon/compose.yaml - torbox-manager/compose.yaml + - torbox-media-center/compose.yaml - traefik/compose.yaml - tweakio/compose.yaml - uptime-kuma/compose.yaml diff --git a/apps/torbox-media-center/.env b/apps/torbox-media-center/.env index f09545f..1962734 100644 --- a/apps/torbox-media-center/.env +++ b/apps/torbox-media-center/.env @@ -1,2 +1,13 @@ +# Your Torbox API key, you can get it from https://torbox.app/settings TORBOX_API_KEY= -TORBOX_MOUNT_METHOD=strm #strm by default, fuse for alternative \ No newline at end of file + +# Where you want to mount the files to. You can change this to +# something like /mnt/media/torbox, for example. +TORBOX_MOUNT_PATH=${DOCKER_DATA_DIR?}/torbox + +# The method to mount the files. You can use either strm or fuse +# strm will work with media servers that support .strm files such as Jellyfin/Emby. +# fuse is provided as a fallback method for platforms like Plex, Infuse, VLC. +# +# So, use strm if you are using Jellyfin/Emby, and fuse if using anything else. +TORBOX_MOUNT_METHOD=strm \ No newline at end of file diff --git a/apps/torbox-media-center/compose.yaml b/apps/torbox-media-center/compose.yaml index b633059..8fbee0c 100644 --- a/apps/torbox-media-center/compose.yaml +++ b/apps/torbox-media-center/compose.yaml @@ -1,21 +1,21 @@ services: torbox-media-center: - image: anonymoussystems/torbox-media-center:main - container_name: torbox-media-center - stdin_open: true - tty: true - restart: unless-stopped - volumes: - - ${DOCKER_DATA_DIR}/torbox:/torbox - environment: - - TORBOX_API_KEY=${TORBOX_API_KEY} - - MOUNT_METHOD=${TORBOX_MOUNT_METHOD} - - MOUNT_PATH=/torbox - labels: - - "traefik.enable=true" - - "traefik.http.routers.torboxmedia.rule=Host(`${TORBOX_MEDIA_CENTER_HOSTNAME?}`)" - - "traefik.http.routers.torboxmedia.entrypoints=websecure" - - "traefik.http.routers.torboxmedia.tls.certresolver=letsencrypt" - profiles: - - debrid_media_server - - all \ No newline at end of file + image: anonymoussystems/torbox-media-center:main + container_name: torbox-media-center + stdin_open: true + tty: true + restart: unless-stopped + environment: + - TORBOX_API_KEY=${TORBOX_API_KEY} + - MOUNT_METHOD=${TORBOX_MOUNT_METHOD} + - MOUNT_PATH=/torbox + labels: + - "traefik.enable=true" + - "traefik.http.routers.torboxmedia.rule=Host(`${TORBOX_MEDIA_CENTER_HOSTNAME?}`)" + - "traefik.http.routers.torboxmedia.entrypoints=websecure" + - "traefik.http.routers.torboxmedia.tls.certresolver=letsencrypt" + volumes: + - ${TORBOX_MOUNT_PATH}:/torbox + profiles: + - debrid_media_server + - all