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