Runbook for creating a new dokku app on aws. You can replace all of the the dokku command using ssh like ssh dokku@mydomain.com {command} {args}.
- Create the app:
git remote add dokku dokku@mydomain.com:myappand thengit push origin dokku - Add your email to the
letsencryptplugindokku letsencrypt:set myapp email youremail@email.com - Create an SSL certificate:
dokku letsencrypt:enable myapp(set up theletsencryptplugin using the instructions here) - Map the
httpandhttpsports:dokku ports:set myapp http:80:8080 https:443:8080(replace8080with the port the underlying app exposes)