From 954f4e1a3db1cfb1a9071e60f433344a4449022b Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Mon, 22 Aug 2016 21:02:42 +1200 Subject: [PATCH] Add the first templates: mysql and wordpress --- templates.json | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 templates.json diff --git a/templates.json b/templates.json new file mode 100644 index 0000000..5587d6e --- /dev/null +++ b/templates.json @@ -0,0 +1,34 @@ +[ + { + "title": "MySQL", + "comment": "The most popular open-source database", + "logo": "https://upload.wikimedia.org/wikipedia/en/thumb/6/62/MySQL.svg/640px-MySQL.svg.png", + "image": "mysql:latest", + "env": [ + { + "name": "MYSQL_ROOT_PASSWORD", + "label": "Root password" + } + ], + "volumes": ["/var/lib/mysql"] + }, + { + "title": "WordPress", + "comment": "A free and open-source CMS", + "logo": "https://s.w.org/about/images/logos/wordpress-logo-simplified-rgb.png", + "image": "wordpress:latest", + "env": [ + { + "name": "WORDPRESS_DB_HOST", + "label": "MySQL database host" + }, + { + "name": "WORDPRESS_DB_PASSWORD", + "label": "Database password" + } + ], + "ports": [ + "80/tcp" + ] + } +]