Merge pull request #7 from cloud-inovasi/template-wowza
Add wowza template
This commit is contained in:
20
README.md
20
README.md
@@ -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.
|
||||||
|
|||||||
@@ -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"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user