Create egg-owncast-online.json egg

Add an egg for https://owncast.online. Could do with an addition to the install script to scrape and find latest version instead of set version.
This commit is contained in:
PsychoZander 2022-03-31 08:32:41 +01:00 committed by GitHub
parent 8f6b91dbc9
commit 1f8567cb7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,59 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1",
"update_url": null
},
"exported_at": "2022-03-31T08:25:53+01:00",
"name": "owncast.online",
"author": "psychoalex@thevcbc.com",
"description": "Owncast is a self-hosted live video and web chat server for use with existing popular broadcasting software.",
"features": null,
"images": [
"ghcr.io\/pterodactyl\/yolks:debian"
],
"file_denylist": [],
"startup": ".\/owncast -webserverport {{SERVER_PORT}} -rtmpport {{RTMP_PORT}} -streamkey {{STREAM_KEY}}",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"The web admin interface is available at \/admin.\"\r\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\n\r\n#Make Server Dir\r\nif [ ! -d \/mnt\/server\/ ]; then\r\n mkdir \/mnt\/server\/\r\nfi\r\ncd \/mnt\/server\/\r\n\r\n#Get Dependencies\r\napt-get -y update\r\napt-get -y install curl unzip tar\r\n\r\n#Get Owncast Install Files\r\ncurl -L https:\/\/github.com\/owncast\/owncast\/releases\/download\/v${OWNCAST_VERSION}\/owncast-${OWNCAST_VERSION}-linux-64bit.zip --output .\/owncast_installer.zip\r\n\r\n#Unzip Install Files\r\nunzip -o -q .\/owncast_installer.zip\r\nrm .\/owncast_installer.zip",
"container": "debian:buster-slim",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "RTMP Port",
"description": "The port that is used to receive the stream data.",
"env_variable": "RTMP_PORT",
"default_value": "1935",
"user_viewable": true,
"user_editable": false,
"rules": "required|integer"
},
{
"name": "Stream\/Admin Key",
"description": "This is used to authenticate to the web admin interface, as well as to authenticate your stream.",
"env_variable": "STREAM_KEY",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|min:32|max:128"
},
{
"name": "Owncast Version",
"description": "The version of Owncast that you would like to install, from https:\/\/github.com\/owncast\/owncast\/releases",
"env_variable": "OWNCAST_VERSION",
"default_value": "0.0.11",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20"
}
]
}