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

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