Skip to content

Commit

Permalink
Merge pull request #27 from di5cord20/Handbrake
Browse files Browse the repository at this point in the history
Added Handbrake
  • Loading branch information
azukaar authored Aug 20, 2023
2 parents eb00abc + 4dca70a commit 1bea855
Show file tree
Hide file tree
Showing 5 changed files with 118 additions and 0 deletions.
109 changes: 109 additions & 0 deletions servapps/Handbrake/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"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",
"KEEP_APP_RUNNING=1"
],
"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}
}
]
}
}
}
9 changes: 9 additions & 0 deletions servapps/Handbrake/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Duplicati",
"longDescription": "<p>This project implements a Docker container for <a href=https://handbrake.fr/ target=_blank>HandBrake</a>.</p><p>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.</p><p>A fully automated mode is also available: drop files into a watch folder and let HandBrake process them without any user interaction.</p><p>Full documentation is available at <a href=https://github.com/jlesage/docker-handbrake target=_blank>https://github.com/jlesage/docker-handbrake</a>.</p>",
"description": "HandBrake is a tool for converting video from nearly any format to a selection of modern, widely supported codecs.",
"tags": ["backup", "automation", "encryption", "open-source", "cross-platform", "backup", "encryption", "scheduling", "automated backup", "windows", "linux", "macos", "docker"],
"repository": "https://github.com/jlesage/docker-handbrake",
"image": "https://hub.docker.com/r/jlesage/handbrake",
"supported_architectures": ["amd64"]
}
Binary file added servapps/Handbrake/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Handbrake/screenshots/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Handbrake/screenshots/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1bea855

Please sign in to comment.