Sanitized mirror from private repository - 2026-04-19 08:15:48 UTC
This commit is contained in:
37
hosts/synology/calypso/tdarr-node/docker-compose.yaml
Normal file
37
hosts/synology/calypso/tdarr-node/docker-compose.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
# Tdarr Node - Calypso-CPU (DS723+ CPU-only transcoding)
|
||||
# Runs on Synology DS723+ (calypso at 192.168.0.250)
|
||||
# Connects to Tdarr Server on Synology (atlantis) at 192.168.0.200
|
||||
#
|
||||
# Hardware: AMD Ryzen R1600 (4 cores, no hardware transcoding)
|
||||
# Use case: CPU-based transcoding to help with queue processing
|
||||
#
|
||||
# NFS Mounts required (created via /usr/local/etc/rc.d/tdarr-mounts.sh):
|
||||
# /mnt/atlantis_media -> 192.168.0.200:/volume1/data/media
|
||||
# /mnt/atlantis_cache -> 192.168.0.200:/volume3/usenet/tdarr_cache
|
||||
#
|
||||
# Note: Both /temp and /cache must be mounted to the same cache directory
|
||||
# to avoid path mismatch errors during file operations.
|
||||
|
||||
services:
|
||||
tdarr-node:
|
||||
image: ghcr.io/haveagitgat/tdarr_node@sha256:dc23becc667f77d2489b1042REDACTED_GITEA_TOKEN # v2.67.01 - pinned to match server
|
||||
container_name: tdarr-node-calypso
|
||||
labels:
|
||||
- com.centurylinklabs.watchtower.enable=false
|
||||
environment:
|
||||
- PUID=1029
|
||||
- PGID=100
|
||||
- TZ=America/Los_Angeles
|
||||
- UMASK=022
|
||||
- nodeName=Calypso
|
||||
- serverIP=192.168.0.200
|
||||
- serverPort=8266
|
||||
- inContainer=true
|
||||
- ffmpegVersion=6
|
||||
volumes:
|
||||
- /volume1/docker/tdarr-node/configs:/app/configs
|
||||
- /volume1/docker/tdarr-node/logs:/app/logs
|
||||
- /mnt/atlantis_media:/media
|
||||
- /mnt/atlantis_cache:/temp
|
||||
- /mnt/atlantis_cache:/cache
|
||||
restart: unless-stopped
|
||||
30
hosts/synology/calypso/tdarr-node/nfs-mounts.sh
Normal file
30
hosts/synology/calypso/tdarr-node/nfs-mounts.sh
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
# NFS Mount Script for Tdarr Node on Calypso (DS723+)
|
||||
# Location: /usr/local/etc/rc.d/tdarr-mounts.sh
|
||||
#
|
||||
# This script mounts the required NFS shares from Atlantis for Tdarr
|
||||
# to access media files and the shared cache directory.
|
||||
#
|
||||
# Installation:
|
||||
# 1. Copy this file to /usr/local/etc/rc.d/tdarr-mounts.sh
|
||||
# 2. chmod +x /usr/local/etc/rc.d/tdarr-mounts.sh
|
||||
# 3. Reboot or run manually
|
||||
#
|
||||
# Note: Synology DSM runs scripts in /usr/local/etc/rc.d/ at boot
|
||||
|
||||
# Wait for network to be ready
|
||||
sleep 30
|
||||
|
||||
# Create mount points if they don't exist
|
||||
mkdir -p /mnt/atlantis_media /mnt/atlantis_cache
|
||||
|
||||
# Mount NFS shares from Atlantis (192.168.0.200)
|
||||
mount -t nfs 192.168.0.200:/volume1/data/media /mnt/atlantis_media -o rw,soft,nfsvers=3
|
||||
mount -t nfs 192.168.0.200:/volume3/usenet/tdarr_cache /mnt/atlantis_cache -o rw,soft,nfsvers=3
|
||||
|
||||
# Verify mounts
|
||||
if mountpoint -q /mnt/atlantis_media && mountpoint -q /mnt/atlantis_cache; then
|
||||
echo "Tdarr NFS mounts successful"
|
||||
else
|
||||
echo "Warning: One or more Tdarr NFS mounts failed"
|
||||
fi
|
||||
Reference in New Issue
Block a user