Merge pull request #7 from cloud-inovasi/template-wowza

Add wowza template
This commit is contained in:
Anthony Lapenna
2016-08-24 15:25:51 +12:00
committed by GitHub
2 changed files with 44 additions and 0 deletions

View File

@@ -31,6 +31,26 @@ The following fields are optional:
* `env`: An array describing the environment variables required by the template. * `env`: An array describing the environment variables required by the template.
For each variable, an input will be created in the UI. For each variable, an input will be created in the UI.
*Format*:
```json
{
"name": "the name of the environment variable, as supported in the container image (mandatory)",
"label": "label for the input in the UI (mandatory)",
"default": "pre-defined value for the variable, will not generate an input in the UI (optional)"
}
```
Example:
```json
{
"name": "MYSQL_ROOT_PASSWORD",
"label": "Root password"
}
```
* `volumes`: An array describing the associated volumes of the template. * `volumes`: An array describing the associated volumes of the template.
For each volume, a Docker volume will be created and associated when starting the template. For each volume, a Docker volume will be created and associated when starting the template.
* `ports`: An array describing the ports exposed by template. * `ports`: An array describing the ports exposed by template.

View File

@@ -60,5 +60,29 @@
"3000/tcp", "3000/tcp",
"3001/tcp" "3001/tcp"
] ]
},
{
"title": "Wowza",
"description": "Streaming media server",
"logo": "https://www.wowza.com/uploads/images/wse-logo-bug-168x168.png",
"image": "sameersbn/wowza:4.1.2-8",
"env": [
{
"name": "WOWZA_ACCEPT_LICENSE",
"label": "Agree to Wowza EULA",
"default": "yes"
},
{
"name": "WOWZA_KEY",
"label": "License key"
}
],
"ports": [
"1935/tcp",
"8086/tcp",
"8087/tcp",
"8088/tcp"
],
"volumes": ["/var/lib/wowza"]
} }
] ]