Add the first templates: mysql and wordpress

This commit is contained in:
Anthony Lapenna
2016-08-22 21:02:42 +12:00
parent 05e9b7bf51
commit 954f4e1a3d

34
templates.json Normal file
View File

@@ -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"
]
}
]