I had a need arise to run a configurable instance of the docker registry to host images built for the Kamal deployment tool. In this post, I'll describe the setup of running your own instance of the docker registry. We'll utilize docker compose for this setup, as well as Traefik
In this, hopefully short post, I want to detail how I'm using docker-compose to run webpacker in a Rails 5.1+ environment. You'll need to run through the docker-compose installation procedures yourself. Docker paired with docker-compose is an easy way to get a mock production environment spun up really quickly.