Wharf is an opinionated web frontend for Dokku. You can also use the command line version, but most features you'll need day-to-day are in the Web UI
dokku letsencrypt:cron-job --add
)dokku apps:create wharf
)mkdir /var/lib/dokku/data/storage/wharf-ssh/
chown dokku:dokku /var/lib/dokku/data/storage/wharf-ssh/
dokku storage:mount wharf /var/lib/dokku/data/storage/wharf-ssh/:/root/.ssh
dokku redis:create wharf && dokku redis:link wharf wharf
)dokku postgres:create wharf && dokku postgres:link wharf wharf
)ADMIN_PASSWORD
to something secret (dokku config:set wharf ADMIN_PASSWORD=somesecret
)DOKKU_SSH_PORT
e.g. dokku config:set wharf DOKKU_SSH_PORT=2222
DOKKU_SSH_HOST
e.g. dokku config:set wharf DOKKU_SSH_HOST=foo.example.com
GITHUB_SECRET
config item to something secretapplication/json
and Secret to the secret from GITHUB_SECRET
Easiest way to do dev is:
vagrant up
which will boot the entire Dokku setup in a VMDOKKU_SSH_HOST=host.docker.internal DOKKU_SSH_PORT=2222 docker-compose up
host.docker.internal
works on Mac/Windows, but not on Linux (see https://github.com/docker/for-linux/issues/264). On Linux hosts, you should set DOKKU_SSH_HOST
to whatever your IP is (not localhost, but a local IP is fine)http://localhost:8000/