Add the first templates: mysql and wordpress
This commit is contained in:
34
templates.json
Normal file
34
templates.json
Normal 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"
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user