handbrake working

This commit is contained in:
2024-07-21 23:33:04 -07:00
parent 68cee73585
commit 2548b064e6
4 changed files with 42 additions and 33 deletions
+21
View File
@@ -0,0 +1,21 @@
# Handbrake
DockerHub: https://hub.docker.com/r/jlesage/handbrake
## SAMPLE ENV
```text
# Handbrake
VOL_PATH=/docker/vol/handbrake-data #HELP: volpath
VOL_CONFIG_PATH=/docker/vol #HELP: configpath
COOKBOOK=/home/user/git/docker-compose-cookbooks #HELP: cookbooks
HANDBRAKE_IMAGE=jlesage/handbrake:latest
```
## NOTES
You can specify read and write for example:
"handbrake-storage:/storage:ro"
"handbrake-output:/output:rw"
+7 -33
View File
@@ -1,40 +1,14 @@
--- ---
version: "3" version: "3"
###########################################################################################################################
# Handbrake
#
# DockerHub: https://hub.docker.com/r/jlesage/handbrake
#
# SAMPLE ENV
# <intentionally blank>
#
# NOTES
#
# You can specify read and write for example:
# "handbrake-storage:/storage:ro"
# "handbrake-output:/output:rw"
#
# Gotcha ubuntu zfs
# mkdir /etc/docker
# nano /etc/docker/daemon.json
# {
# "storage-driver": "fuse-overlayfs"
# } <- put this inside the new file daemon.json
# apt install fuse-overlayfs
# fuse-overlayfs --version
###########################################################################################################################
services: services:
handbrake: handbrake:
image: jlesage/handbrake image: ${HANDBRAKE_IMAGE:-jlesage/handbrake:latest}
volumes: volumes:
- ./data/config:/config - "${VOL_CONFIG_PATH:-./config}/preferences.json:/config/ghb/preferences.json"
- ./data/raw:/storage - "${VOL_CONFIG_PATH:-./config}/presets.json:/config/ghb/presets.json"
- ./data/watch:/watch - "${VOL_PATH:-./data}/handbrake/storage:/storage"
- ./data/processed:/output - "${VOL_PATH:-./data}/handbrake/complete:/output"
restart: "no" restart: "unless-stopped"
ports: ports:
- "8000:5800" - "5800:5800"
+9
View File
@@ -0,0 +1,9 @@
version: '3.4'
services:
handbrake:
extends:
file: ${COOKBOOK}/handbrake/docker-compose.yml
service: handbrake
env_file:
- .env
+5
View File
@@ -0,0 +1,5 @@
# Handbrake
VOL_PATH=/docker/vol/handbrake-data #HELP: volpath
VOL_CONFIG_PATH=/docker/vol #HELP: configpath
COOKBOOK=/home/user/git/docker-compose-cookbooks #HELP: cookbooks
HANDBRAKE_IMAGE=jlesage/handbrake:latest