-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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} | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "Handbrake", | ||
"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": ["media", "video", "conversion"], | ||
"repository": "https://github.com/jlesage/docker-handbrake", | ||
"image": "https://hub.docker.com/r/jlesage/handbrake", | ||
"supported_architectures": ["amd64"] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.