Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.28 KB

dokku.md

File metadata and controls

49 lines (31 loc) · 1.28 KB

Dokku deployment instructions

This guide assumes Dokku is already installed on the remote server.

Set up Dokku app on remote server

dokku apps:create gerilife-quasar

Configure GeriLife address and port

The Quasar app will need to connect to a GeriLife server, using protocol, address, and port.

dokku config:set gerilife-quasar GERILIFE_SERVER_PROTOCOL=<server-protocol>
dokku config:set gerilife-quasar GERILIFE_SERVER_ADDRESS=<server-address>
dokku config:set gerilife-quasar GERILIFE_SERVER_PORT=<port-number>

Add Git remote for Dokku server

The local Git repository will need to be configured with a Dokku remote.

git remote add dokku dokku@<server-address>:gerilife-quasar

Deploy

In order to deploy, simply push the main branch to the Dokku server.

git push dokku main

Server resources

Note: when deploying the server, ensure there is enough CPU reserved to build the app. For example, reserve 4x CPU resources on a Hetzner Cloud instance. The server resources can be scaled back down after the build finishes.

Reference(s)