/
Heat template to create a two-tier web application

Heat template to create a two-tier web application


https://github.com/savithruml/HOT-OpenStack/blob/master/two-tier-app/two-tier-app.yaml



If you decide to use docker (K8s/OpenShift) you will need to run:


ON DATABASE NODE: 

docker run -d --name redminedb --net=host -e MYSQL_ROOT_PASSWORD=secret -e MYSQL_DATABASE=redmine mysql


ON FRONTEND NODE:

docker run -d --name redminefrontend --net=host -e REDMINE_DB_MYSQL=<database-node-ip-address> -e REDMINE_DB_PASSWORD=secret redmine

Related content

Create VM and Container with Heat Orchestration Template or HOT
Create VM and Container with Heat Orchestration Template or HOT
More like this
Redhat OpenShift for Docker and K8s Container
Redhat OpenShift for Docker and K8s Container
More like this
Create a Network and VM with OpenStack
Create a Network and VM with OpenStack
More like this
Heat template to create VM
Heat template to create VM
More like this
Kubernetes k8s main page
Kubernetes k8s main page
More like this
OC or Openshift CLI: create an app
OC or Openshift CLI: create an app
More like this