Commit 408782b7 authored by Andrew Breidenbach's avatar Andrew Breidenbach
Browse files

manually add mariadb

parent cfb9355c
......@@ -154,3 +154,19 @@ spec:
# dockerhost is defined in deployment blueprint
node: dockerhost
bitnami_mariadb_container_service:
type: unfurl.nodes.ContainerService
properties:
container:
image: bitnami/mariadb:latest
ports:
- 80:80
environment:
MARIADB_ROOT_PASSWORD:
eval: .sources::container::root_password
requirements:
- host:
# blueprint needs to define this:
node: mariadb-dockerhost
......@@ -613,7 +613,7 @@
"type": "object",
"properties": {
"user_data": {
"title": "user_data",
"title": "User Data",
"required": true,
"type": "string"
}
......@@ -675,7 +675,7 @@
"type": "object",
"properties": {
"user_data": {
"title": "user_data",
"title": "User Data",
"required": true,
"type": "string"
}
......@@ -3106,6 +3106,45 @@
"match": "dockerhost"
}
]
},
"bitnami_mariadb_container_service": {
"type": "unfurl.nodes.ContainerService",
"name": "bitnami_mariadb_container_service",
"title": "bitnami_mariadb_container_service",
"description": "",
"properties": [
{
"name": "container",
"value": {
"image": "bitnami/mariadb:latest",
"ports": [
"80:80"
],
"environment": {
"MARIADB_ROOT_PASSWORD": {
"eval": ".sources::container::root_password"
}
}
}
}
],
"dependencies": [
{
"constraint": {
"name": "host",
"title": "host",
"description": "",
"min": 1,
"max": 1,
"match": null,
"resourceType": "unfurl.nodes.DockerHost",
"visibility": "hidden"
},
"name": "host",
"__typename": "Requirement",
"match": "mariadb-dockerhost"
}
]
}
},
"Overview": {
......@@ -3131,9 +3170,10 @@
"primary": "the_app",
"resourceTemplates": [
"container_service",
"mariadb-dockerhost",
"the_app",
"dockerhost",
"mariadb-dockerhost"
"bitnami_mariadb_container_service",
"dockerhost"
],
"ResourceTemplate": {
"dockerhost": {
......@@ -3290,9 +3330,10 @@
"blueprint": "magento",
"primary": "the_app",
"resourceTemplates": [
"dockerhost",
"container_service",
"the_app"
"the_app",
"bitnami_mariadb_container_service",
"dockerhost"
],
"ResourceTemplate": {
"dockerhost": {
......@@ -3348,11 +3389,12 @@
"blueprint": "magento",
"primary": "the_app",
"resourceTemplates": [
"localdb",
"mariadb-dockerhost",
"bitnami_mariadb_container_service",
"container_service",
"the_app",
"dockerhost",
"mariadb-dockerhost"
"localdb"
],
"ResourceTemplate": {
"dockerhost": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment