mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
handbrake working
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|
||||||
@@ -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"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
version: '3.4'
|
||||||
|
|
||||||
|
services:
|
||||||
|
handbrake:
|
||||||
|
extends:
|
||||||
|
file: ${COOKBOOK}/handbrake/docker-compose.yml
|
||||||
|
service: handbrake
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user