Create docker-compose.yaml
This commit is contained in:
parent
c19e44ca0e
commit
f5f6033433
1 changed files with 62 additions and 0 deletions
62
docker-compose.yaml
Normal file
62
docker-compose.yaml
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
services:
|
||||
tdarr:
|
||||
container_name: tdarr
|
||||
devices:
|
||||
- /dev/nvidia0:/dev/nvidia0
|
||||
- /dev/nvidiactl:/dev/nvidiactl
|
||||
- /dev/nvidia-uvm:/dev/nvidia-uvm
|
||||
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
environment:
|
||||
- TZ=Europe/Berlin
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- UMASK_SET=002
|
||||
- serverIP=0.0.0.0
|
||||
- serverPort=8266
|
||||
- webUIPort=8265
|
||||
- internalNode=true
|
||||
- inContainer=true
|
||||
- ffmpegVersion=7
|
||||
- nodeName=tdarr
|
||||
- nodeID=tdarr
|
||||
- NVIDIA_DRIVER_CAPABILITIES=all
|
||||
- NVIDIA_VISIBLE_DEVICES=all
|
||||
image: ghcr.io/haveagitgat/tdarr:latest
|
||||
ports:
|
||||
- 0.0.0.0:8265:8265
|
||||
- 8266:8266
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
#- tdarr_config:/app
|
||||
- /app-config/data:/app/server
|
||||
- /app-config/config:/app/configs
|
||||
- /app-config/logs:/app/logs
|
||||
- /tdarr/tmp/:/temp/
|
||||
- /tdarr/:/tdarr/
|
||||
- /data:/data
|
||||
fileflows:
|
||||
container_name: fileflows
|
||||
image: revenz/fileflows
|
||||
restart: unless-stopped
|
||||
runtime: nvidia
|
||||
ports:
|
||||
- "19200:5000"
|
||||
environment:
|
||||
- TempPathHost=/temp
|
||||
- TZ=Europe/Berlin
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
|
||||
- NVIDIA_VISIBLE_DEVICES=all
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- /app-config/fileflows:/app/Data
|
||||
- /temp:/temp
|
||||
- /usenet:/usenet/
|
||||
Loading…
Add table
Add a link
Reference in a new issue