Introduction
These are the configurations I use to deploy a Rails 6 app. Note that this is a small hobby app so I’m using docker-compose
to deploy it, for more serious apps you’d want to use docker swarm
or kubernetes
.
If you don’t have a server ready or docker
and docker-compose
installed on your local dev machine then have a read through this blog post first.
For this build I’m not going to dockerize NGINX as I have it installed on the server.