diff --git a/servapps/Handbrake/cosmos-compose.json b/servapps/Handbrake/cosmos-compose.json new file mode 100644 index 00000000..13e685f8 --- /dev/null +++ b/servapps/Handbrake/cosmos-compose.json @@ -0,0 +1,108 @@ +{ + "cosmos-installer": { + "form": [ + { + "name": "storagePath", + "label": "This location contains files from your host that need to be accessible to the application. (leave empty to not mount anything)", + "initialValue": "{DefaultDataPath}", + "type": "text" + }, + { + "name": "watchPath", + "label": "This is where videos to be automatically converted are located (leave empty to not mount anything)", + "initialValue": "{DefaultDataPath}/{ServiceName}/watch", + "type": "text" + }, + { + "name": "outputPath", + "label": "This is where automatically converted video files are written (leave empty to not mount anything)", + "initialValue": "{DefaultDataPath}/{ServiceName}/output", + "type": "text" + }, + { + "name": "enableDevices", + "label": "Do you want to enable hardware acceleration? (only enable for Intel cpu)", + "initialValue": false, + "type": "checkbox" + }, + { + "name": "adminOnly", + "label": "Do you want to make this service admin only?", + "initialValue": false, + "type": "checkbox" + } + ] + }, + "minVersion": "0.9.19", + "services": { + "{ServiceName}": { + "image": "jlesage/handbrake:latest", + "container_name": "{ServiceName}", + "restart": "unless-stopped", + "UID": 1000, + "GID": 1000, + "environment": [ + "USER_ID=1000", + "GROUP_ID=1000", + "TZ=auto" + ], + "labels": { + "cosmos-force-network-secured": "true", + "cosmos-auto-update": "true", + "cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Handbrake/icon.png" + }, + {if Context.enableDevices} + "devices": [ + "/dev/dri:/dev/dri" + ], + {/if} + "volumes": [ + { + "source": "{ServiceName}-config", + "target": "/config", + "type": "volume" + } + {if Context.storagePath} + , { + "source": "{Context.storagePath}", + "target": "/storage", + "type": "bind" + } + {/if} + {if Context.outputPath} + , { + "source": "{Context.outputPath}", + "target": "/output", + "type": "bind" + } + {/if} + {if Context.watchPath} + , { + "source": "{Context.watchPath}", + "target": "/watch", + "type": "bind" + } + {/if} + ], + "routes": [ + { + "name": "{ServiceName}", + "description": "Expose {ServiceName} to the web", + "useHost": true, + "target": "http://{ServiceName}:5800", + "mode": "SERVAPP", + "Timeout": 14400000, + "ThrottlePerMinute": 12000, + "BlockCommonBots": true, + "SmartShield": { + "Enabled": true + }, + "AuthEnabled": true + {if Context.adminOnly} + , "AuthAdmin": true + {/if} + } + ] + } + } +} \ No newline at end of file diff --git a/servapps/Handbrake/description.json b/servapps/Handbrake/description.json new file mode 100644 index 00000000..78376503 --- /dev/null +++ b/servapps/Handbrake/description.json @@ -0,0 +1,9 @@ +{ + "name": "Handbrake", + "longDescription": "

This project implements a Docker container for HandBrake.

The GUI of the application is accessed through a modern web browser (no installation or configuration needed on the client side) or via any VNC client.

A fully automated mode is also available: drop files into a watch folder and let HandBrake process them without any user interaction.

Full documentation is available at https://github.com/jlesage/docker-handbrake.

", + "description": "HandBrake is a tool for converting video from nearly any format to a selection of modern, widely supported codecs.", + "tags": ["media", "video", "conversion"], + "repository": "https://github.com/jlesage/docker-handbrake", + "image": "https://hub.docker.com/r/jlesage/handbrake", + "supported_architectures": ["amd64"] + } \ No newline at end of file diff --git a/servapps/Handbrake/icon.png b/servapps/Handbrake/icon.png new file mode 100644 index 00000000..69d76459 Binary files /dev/null and b/servapps/Handbrake/icon.png differ diff --git a/servapps/Handbrake/screenshots/1.jpg b/servapps/Handbrake/screenshots/1.jpg new file mode 100644 index 00000000..693da6c2 Binary files /dev/null and b/servapps/Handbrake/screenshots/1.jpg differ diff --git a/servapps/Handbrake/screenshots/2.jpg b/servapps/Handbrake/screenshots/2.jpg new file mode 100644 index 00000000..1bcc0ceb Binary files /dev/null and b/servapps/Handbrake/screenshots/2.jpg differ