.
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
|
||||
# Service Name: Tdarr Node
|
||||
# Description : Tdarr node only. Requires a separate server to function.
|
||||
# Homepage :
|
||||
|
||||
#version: "3.4"
|
||||
services:
|
||||
tdarr_node:
|
||||
#container_name: tdarr_node
|
||||
image: ghcr.io/haveagitgat/tdarr_node:latest
|
||||
#restart: unless-stopped
|
||||
#network_mode: bridge
|
||||
environment:
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
- TZ=${TZ}
|
||||
- UMASK_SET=002
|
||||
- nodeID=${NODEID}
|
||||
- serverIP=${SERVERIP}
|
||||
- serverPort=${SERVERPORT}
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '3.5'
|
||||
# memory: 1024M
|
||||
placement:
|
||||
constraints:
|
||||
- node.role != manager
|
||||
|
||||
# cpu_shares: 512
|
||||
volumes:
|
||||
- /home/rcadmin/docker/tdarr_node/server:/app/server
|
||||
- /home/rcadmin/docker/tdarr_node/config:/app/configs
|
||||
- /home/rcadmin/docker/tdarr_node/logs:/app/logs
|
||||
- cifs_mount_media:/media
|
||||
#- cifs_mount_media/cache:/temp
|
||||
#- /mnt/nfs/tower/video:/tower_media
|
||||
#- /mnt/nfs/bunker/arch:/bunker_arch
|
||||
#- /mnt/smb/redux/transcode/tdarr:/temp
|
||||
# devices:
|
||||
# - /dev/dri:/dev/dri
|
||||
networks:
|
||||
- tdarr
|
||||
|
||||
volumes:
|
||||
cifs_mount_media:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: cifs
|
||||
device: //192.168.50.204/Media/Recompress
|
||||
o: "username=${USERNAME},password=${PASSWORD},vers=3.0,uid=${PUID},gid=${PGID},noserverino"
|
||||
|
||||
networks:
|
||||
tdarr:
|
||||
driver: overlay
|
||||
attachable: true
|
||||
external: true
|
||||
Reference in New Issue
Block a user