создан и заполнен начальный docker-compose.yml
This commit is contained in:
@@ -0,0 +1,90 @@
|
|||||||
|
services:
|
||||||
|
tdarr:
|
||||||
|
container_name: tdarr
|
||||||
|
image: ghcr.io/haveagitgat/tdarr:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
network_mode: bridge
|
||||||
|
ports:
|
||||||
|
- 8265:8265 # webUI port
|
||||||
|
- 8266:8266 # server port
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/London
|
||||||
|
- PUID=${PUID}
|
||||||
|
- PGID=${PGID}
|
||||||
|
- UMASK_SET=002
|
||||||
|
- serverIP=0.0.0.0
|
||||||
|
- serverPort=8266
|
||||||
|
- webUIPort=8265
|
||||||
|
- internalNode=true
|
||||||
|
- inContainer=true
|
||||||
|
- ffmpegVersion=7
|
||||||
|
- nodeName=MyInternalNode
|
||||||
|
- auth=false
|
||||||
|
- openBrowser=true
|
||||||
|
- maxLogSizeMB=10
|
||||||
|
- cronPluginUpdate=
|
||||||
|
- NVIDIA_DRIVER_CAPABILITIES=all
|
||||||
|
- NVIDIA_VISIBLE_DEVICES=all
|
||||||
|
volumes:
|
||||||
|
- /docker/tdarr/server:/app/server
|
||||||
|
- /docker/tdarr/configs:/app/configs
|
||||||
|
- /docker/tdarr/logs:/app/logs
|
||||||
|
- /media:/media
|
||||||
|
- /transcode_cache:/temp
|
||||||
|
|
||||||
|
devices:
|
||||||
|
- /dev/dri:/dev/dri
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
reservations:
|
||||||
|
devices:
|
||||||
|
- driver: nvidia
|
||||||
|
count: all
|
||||||
|
capabilities: [gpu]
|
||||||
|
|
||||||
|
|
||||||
|
# node example
|
||||||
|
tdarr-node:
|
||||||
|
container_name: tdarr-node
|
||||||
|
image: ghcr.io/haveagitgat/tdarr_node:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
network_mode: service:tdarr
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/London
|
||||||
|
- PUID=${PUID}
|
||||||
|
- PGID=${PGID}
|
||||||
|
- UMASK_SET=002
|
||||||
|
- nodeName=MyExternalNode
|
||||||
|
- serverIP=0.0.0.0
|
||||||
|
- serverPort=8266
|
||||||
|
- inContainer=true
|
||||||
|
- ffmpegVersion=7
|
||||||
|
- nodeType=mapped
|
||||||
|
- priority=-1
|
||||||
|
- cronPluginUpdate=
|
||||||
|
- apiKey=
|
||||||
|
- maxLogSizeMB=10
|
||||||
|
- pollInterval=2000
|
||||||
|
- startPaused=false
|
||||||
|
- transcodegpuWorkers=1
|
||||||
|
- transcodecpuWorkers=2
|
||||||
|
- healthcheckgpuWorkers=1
|
||||||
|
- healthcheckcpuWorkers=1
|
||||||
|
- NVIDIA_DRIVER_CAPABILITIES=all
|
||||||
|
- NVIDIA_VISIBLE_DEVICES=all
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- /docker/tdarr/configs:/app/configs
|
||||||
|
- /docker/tdarr/logs:/app/logs
|
||||||
|
- /media:/media
|
||||||
|
- /transcode_cache:/temp
|
||||||
|
|
||||||
|
devices:
|
||||||
|
- /dev/dri:/dev/dri
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
reservations:
|
||||||
|
devices:
|
||||||
|
- driver: nvidia
|
||||||
|
count: all
|
||||||
|
capabilities: [gpu]
|
||||||
Reference in New Issue
Block a user