From e4b6a73d448e3f6987ff008fa7d4349fef3869d4 Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Tue, 20 Sep 2016 16:29:54 +1200 Subject: [PATCH] Add Joomla template. Close #27 --- README.md | 29 +++++++++++++++-------------- templates.json | 20 ++++++++++++++++++++ 2 files changed, 35 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 41f7276..1332245 100644 --- a/README.md +++ b/README.md @@ -4,20 +4,6 @@ This repository hosts the official templates (**'Apps'**) definitions for CloudI It also describes how to host your own Apps. -## Available apps: - -* Docker registry (based on `registry:latest`) -* Nginx (based on `nginx:latest`) -* Httpd (based on `httpd:latest`) -* MySQL (based on `mysql:latest`) -* Mongo (based on `mongo:latest`) -* Elasticsearch (based on `elasticsearch:latest`) -* Redis (based on `redis:latest`) -* Jenkins (based on `jenkins:latest`) -* WordPress (based on `wordpress:latest`) -* Drupal (based on `drupal:latest`) -* Magento 2 (based on `alankent/gsd:latest`) - ## Template definition format Template definitions are written in *JSON*. @@ -102,3 +88,18 @@ You can also mount the `templates.json` file inside the container, so you can ed ```shell $ docker run -d -p "8080:80" -v "${PWD}/templates.json:/usr/share/nginx/html/templates.json" cloudinovasi-ui-templates ``` + +## Available apps: + +* Docker registry (based on `registry:latest`) +* Nginx (based on `nginx:latest`) +* Httpd (based on `httpd:latest`) +* MySQL (based on `mysql:latest`) +* Mongo (based on `mongo:latest`) +* Elasticsearch (based on `elasticsearch:latest`) +* Redis (based on `redis:latest`) +* Jenkins (based on `jenkins:latest`) +* WordPress (based on `wordpress:latest`) +* Joomla (based on `joomla:latest`) +* Drupal (based on `drupal:latest`) +* Magento 2 (based on `alankent/gsd:latest`) diff --git a/templates.json b/templates.json index 8101e06..9da98f6 100644 --- a/templates.json +++ b/templates.json @@ -102,6 +102,26 @@ "80/tcp" ] }, + { + "title": "Joomla", + "description": "Another free and open-source CMS", + "logo": "https://hub.docker.com/public/images/official/joomla.png", + "image": "joomla:latest", + "env": [ + { + "name": "JOOMLA_DB_HOST", + "label": "MySQL database host", + "type": "container" + }, + { + "name": "JOOMLA_DB_PASSWORD", + "label": "Database password" + } + ], + "ports": [ + "80/tcp" + ] + }, { "title": "Drupal", "description": "Open-source content management framework",