This guide provides some notes on how I used Dokku to deploy TeSS.
Dokku is a platform that allows easy deployment of apps via git (akin to Heroku) for applications that follow 12-factor principles.
My preferred setup:
- I like to use
docker-compose
in development. I follow the guide in the TeSS documentation to get this working. - I like to use Dokku in production. It makes zero-downtime upgrades a breeze. Steps below are intended to make this work.
- I prefer to use Rails credentials to minimize the number of secrets I need to communicate to my app through environment variables