feat(torbox-media-center): format, add comments, add mount path env var, and add to root compose

This commit is contained in:
Viren070
2025-05-06 22:58:12 +01:00
parent 4b1c4efcb4
commit ad6f6c4645
3 changed files with 32 additions and 20 deletions
+1
View File
@@ -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
+12 -1
View File
@@ -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
# 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
+19 -19
View File
@@ -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
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