Deployment to Dokku
On the server
Install dokku
Install the postgres plugin.
Install the letsencrypt plugin
Install the redis plugin
Create a postgis database
Create a redis database
Create a dokku app
Link the postgres and redis databases to the app
Change the database url to use postgis instead of postgres
Setup some environment variables
Setup the domain and SSL certificates
Setup the appropriate proxy ports:
Make sure that large uploads are allowed:
On your local machine
Add a git remote for deployment
git remote add dokku:wazimap
Deploy
git push dokku staging:master
(if deploying the staging branch)
Last updated