From ec12c3e79b42498107ef5fb9d497f6a333f28a16 Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Wed, 24 Aug 2016 15:25:27 +1200 Subject: [PATCH] Add wowza template --- README.md | 20 ++++++++++++++++++++ templates.json | 24 ++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/README.md b/README.md index c2f7d56..9b958fa 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,26 @@ The following fields are optional: * `env`: An array describing the environment variables required by the template. 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. For each volume, a Docker volume will be created and associated when starting the template. * `ports`: An array describing the ports exposed by template. diff --git a/templates.json b/templates.json index 9bded74..b8ccdf4 100644 --- a/templates.json +++ b/templates.json @@ -60,5 +60,29 @@ "3000/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"] } ]