In this article we will build a minimal PHP application consisting of two containers which are declared in a single multi stage Dockerfile. Then we will leverage a GitHub Actions workflow to automate building the Docker images and pushing them to ECR
a brief introduction how we handle Docker images for production and how this fundamentally differs to our development images. Our example will be a simple Laravel application.
In this article we will configure dnsmasq and traefik to act as a reverse proxy on our development machine. This way we are able to use custom .test domains in all of our docker projects.
In this article we will setup a Laravel example project with b5. We will leverage services like Apache, PHP, Node.js, Redis, MySQL, phpMyAdmin and MailHog.