mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
feat(torbox-media-center): format, add comments, add mount path env var, and add to root compose
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user