Chester is a very simple three tier application that I have written to use while testing Cisco ACI. It creates three separate servers that can be placed in different EPGs and then run security between them for testing, viewing functionality, etc.
The application has buttons to fully initialize a stock configuration of the mysql Docker container.
This application uses Flask for both the web and the application layers (no apache).
When you execute the Docker run command you need to add environment variables that my scripts will look for. These are for the IP Addresses of the SQL and APP Servers. Change them to the IP Address or host name of the host the containers are running on. See details below on the names.
Client -> 80 -> cestr-web -> 5000 -> cestr-app -> 3306 -> mysql
Use with the following Docker images:
tigelane/cestr-web for the web tier
tigelane/cestr-app for the application tier
mysql for the DB tier
Initialize the docker containers as such (replace replace_me with the real address or hostname)
docker run -e APP_SERVER_IPADDR=replace_me -p 80:80 -d tigelane/cestr-web
docker run -e SQL_SERVER_IPADDR=replace_me -p 5000:5000 -d tigelane/cestr-app
docker run -e MYSQL_ROOT_PASSWORD=mysql -p 3306:3306 -d mysql