From da850ffbfb969cb1a7b71d67f6cf5d1e9954fa45 Mon Sep 17 00:00:00 2001 From: Nick Yeoman Date: Tue, 11 Feb 2025 23:45:17 -0800 Subject: [PATCH] added portainer notes for h andbrake --- handbrake/portainer.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 handbrake/portainer.yml diff --git a/handbrake/portainer.yml b/handbrake/portainer.yml new file mode 100644 index 0000000..0bd720b --- /dev/null +++ b/handbrake/portainer.yml @@ -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" \ No newline at end of file