added portainer notes for h andbrake

This commit is contained in:
2025-02-11 23:45:17 -08:00
parent ace02872a1
commit da850ffbfb
+33
View File
@@ -0,0 +1,33 @@
# Here is what I'm using for portainer copied into the editor
services:
handbrake:
image: ${HANDBRAKE_IMAGE:-jlesage/handbrake:latest}
restart: "unless-stopped"
container_name: handbrake
volumes:
- "/handbrake/config:/config/ghb"
- "/handbrake/downloads:/storage"
- "/handbrake/done:/output"
- "/handbrake/720:/watch"
- "/handbrake/4k:/watch2"
- "/handbrake/trash:/trash"
ports:
- "5800:5800"
runtime: nvidia
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
# ENV
HANDBRAKE_IMAGE=zocker160/handbrake-nvenc:18x
AUTOMATED_CONVERSION=1
AUTOMATED_CONVERSION_FORMAT=m4v
AUTOMATED_CONVERSION_KEEP_SOURCE=0
AUTOMATED_CONVERSION_USE_TRASH=1
AUTOMATED_CONVERSION_MAX_WATCH_FOLDERS=2
AUTOMATED_CONVERSION_PRESET="nix/720"
AUTOMATED_CONVERSION_OUTPUT_DIR="/output"
AUTOMATED_CONVERSION_PRESET_2="nix/4K"
AUTOMATED_CONVERSION_OUTPUT_DIR_2="/output"