Files
retroLabs/compose.yaml

46 lines
1.4 KiB
YAML

services:
tunarr:
image: ghcr.io/chrisbenincasa/tunarr:2026.11.2@sha256:50919e89db8c60f7fe9f3561f84ef77fb5710ccaac5db5599e9b9993c519dea9
cpus: ${TUNARR_CPUS:-2}
mem_limit: ${TUNARR_MEMORY_LIMIT:-2800m}
memswap_limit: ${TUNARR_MEMORY_LIMIT:-2800m}
restart: unless-stopped
environment:
TZ: America/New_York
TUNARR_SERVER_TRUST_PROXY: "true"
TUNARR_SESSION_STALENESS_MS: ${TUNARR_SESSION_STALENESS_MS:-15000}
ports:
- "127.0.0.1:${TUNARR_LOOPBACK_PORT:-14242}:8000"
volumes:
- tunarr-data:/config/tunarr
- ./data/commercials:/commercials:ro
- type: bind
source: ${RETROTV_MEDIA_DIR:-./data/media}
target: /media
read_only: true
bind:
create_host_path: false
bridge:
build:
context: .
dockerfile: deploy/bridge.Dockerfile
restart: unless-stopped
network_mode: host
depends_on:
- tunarr
environment:
RETROTV_LAN_IP: ${RETROTV_LAN_IP:?Set RETROTV_LAN_IP in .env}
RETROTV_PORT: ${RETROTV_PORT:-4242}
RETROTV_NAME: ${RETROTV_NAME:-retroLabs}
RETROTV_TUNARR_URL: http://127.0.0.1:${TUNARR_LOOPBACK_PORT:-14242}
RETROTV_ID_FILE: /state/server-id
RETROTV_WEATHER_POINT: ${RETROTV_WEATHER_POINT:-}
RETROTV_WEATHER_LOCATION: ${RETROTV_WEATHER_LOCATION:-Local Weather}
volumes:
- bridge-data:/state
- ./data/weather:/app/data/weather:ro
volumes:
tunarr-data:
bridge-data: