Easily deploy your Go applications with Dokku.
Features:
- Deploy on your own server
- Auto deployment
- HTTPS
Check the full step by step article: https://shellbear.me/blog/go-dokku-deployment
The example API requires a PostgreSQL database.
Specify the database connection URL using the DATABASE_URL
environment variable:
export DATABASE_URL=postgresql://user:secret@localhost
go run .