Add TV_Containers/tiramisu/compose.yaml
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
context: ${STACK_DIR}
|
||||
dockerfile: Dockerfile
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: unless-stopped
|
||||
|
||||
# FUSE support (Tiramisu virtual filesystem)
|
||||
devices:
|
||||
- /dev/fuse:/dev/fuse
|
||||
cap_add:
|
||||
- SYS_ADMIN
|
||||
security_opt:
|
||||
- apparmor:unconfined
|
||||
|
||||
# Host port mappings (BAT must assign concrete host ports)
|
||||
ports:
|
||||
# Media server (one image will actually listen; unused mappings are harmless)
|
||||
- "${PLEX_HOST_PORT}:32400"
|
||||
- "${JELLYFIN_HOST_PORT}:8096"
|
||||
|
||||
# Tiramisu / GoStorm
|
||||
- "${GOSTORM_HOST_PORT}:8090"
|
||||
- "${METRICS_HOST_PORT}:${TIRAMISU_METRICS_PORT}"
|
||||
|
||||
environment:
|
||||
- MKV_PROXY_CONFIG_PATH=/config.json
|
||||
- TIRAMISU_ROOT_PATH=/tiramisu/state
|
||||
- TIRAMISU_SOURCE_PATH=/tiramisu/source
|
||||
- TIRAMISU_MOUNT_PATH=/tiramisu/mount
|
||||
- TIRAMISU_STATE_DIR=/tiramisu/state/STATE
|
||||
- TIRAMISU_LOG_DIR=/tiramisu/state/logs
|
||||
# LinuxServer base image vars — BAT may provide overrides or defaults
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
- TZ=${TZ}
|
||||
- VERSION=docker
|
||||
- PLEX_CLAIM=${PLEX_CLAIM}
|
||||
|
||||
volumes:
|
||||
# Tiramisu source + state
|
||||
- "${BASE_DIR}/tiramisu-mkv-real:/tiramisu/source"
|
||||
- "${BASE_DIR}/tiramisu:/tiramisu/state"
|
||||
|
||||
# LinuxServer (Plex/Jellyfin) state
|
||||
- "${BASE_DIR}/${CONTAINER_NAME}/config:/config"
|
||||
- "${BASE_DIR}/${CONTAINER_NAME}/transcode:/transcode"
|
||||
|
||||
# Tiramisu config.json (BAT writes/patches this into the real-source tree)
|
||||
- "${BASE_DIR}/tiramisu-mkv-real/config/config.json:/config.json:ro"
|
||||
|
||||
# s6-overlay hooks (mounted read-only; deterministic custom startup)
|
||||
- "${STACK_DIR}/custom-services:/custom-services.d:ro"
|
||||
- "${STACK_DIR}/custom-cont-init:/custom-cont-init.d:ro"
|
||||
Reference in New Issue
Block a user