I use Docker every day and it has make my development workflow much simpler. I don't have to deal with conflicts or issues with macOS since everything is containerized. Before, I would fight my host operating system with mismatched dependencies and configuration problems, but using Docker during my development workflow has simplified things. In this episode, we'll run through how I use Docker on Rails applications and some of the tricks I use to solve the nuances of this approach.
Continuing on from the previous episode, we look at creating a Docker Swarm cluster and using Traefik to load balance and route requests to various applications. Using this and CloudFlare proxies, we're able to create and deploy hobby applications in minutes.
I often create Rails projects and while some of these applications are fairly simple, deployment to a production environment still requires a lot of infrastructure setup. In this episode, we take a look at creating a Rails project template and being able to deploy it to a production environment within minutes.
Amazon's newest hosting service, App Runner, makes it fairly easy to deploy web services. In this episode, we take a look at some of the issues with App Runner as well as how we can deploy a Docker container image to the service. We also dive into building Docker images from an Apple M1 computer and pushing to Elastic Container Registry.