Skip to content

Instantly share code, notes, and snippets.

@Webbanditten
Created May 29, 2020 11:27
Show Gist options
  • Save Webbanditten/d8b0fb1faaf86bd4d3ba9e3ff0122f2b to your computer and use it in GitHub Desktop.
Save Webbanditten/d8b0fb1faaf86bd4d3ba9e3ff0122f2b to your computer and use it in GitHub Desktop.
{
"captainVersion": "2",
"documentation":"http://www.quakejs.com/",
"displayName": "quakejs",
"description": "QuakeJS is a port of ioquake3 to JavaScript with the help of Emscripten.",
"dockerCompose":{
"services":{
"$$cap_appname":{
"containerHttpPort":"80",
"environment":{
"SERVER":"$$cap_HOSTNAME",
"HTTP_PORT":"80"
},
"ports": [
"$$cap_serverport:27960"
],
"image":"treyyoder/quakejs:$$cap_version",
"restart":"always"
}
},
"version":"2"
},
"instructions":{
"end":"Now visit the site",
"start":"Enter hostname and port for website."
},
"variables":[
{
"label":"Version",
"defaultValue":"v1.0",
"description":"It's highly recommended that you don't use the latest tag but instead the major version you need, e.g. treyyoder/quakejs:v1.0",
"id":"$$cap_version"
},
{
"label":"Server port",
"defaultValue":"27960",
"description":"Default 27960",
"id":"$$cap_serverport"
},
{
"label":"Hostname",
"defaultValue":"",
"description":"IP or hostname",
"id":"$$cap_HOSTNAME"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment