Setting up Docker containers with nginx to reverse proxy to multiple web servers

In this post I’ll show how to set up docker containers with nginx reverse proxying to 2 different web servers (apache and apache tomcat). All setup with one docker compose file. Very handy for running on one machine for development , to simulate what you might have running on multiple machines in your production environment. … Read more

Running Docker on AWS

Recently I wanted to use my Java Tomcat Docker image on AWS to run a spring boot app. I looked at the various ways of setting this up ECS (Elastic Container), and found it to be a load of hassle ( for what I needed , I don’t need Kubernetes style functionality , just a … Read more

Setting up a Laravel app on Docker

Rough notes, will pull this togther in a blog post at later date. issue: The requested URL /login/ was not found on this server. resolution: add to manually enable mod rewrite on command line in the container: # launch a terminal in the container docker exec -it e39431779799 bash # enable modrewrite a2enmod rewrite /etc/init.d/apache2 … Read more