Initial setup Use digital ocean image with Dokku pre-installed, set up ssh key through web. apt update && apt full-upgrade to update packages. dokku apps:create myapp.somedomain.com and add git remote add dokku dokku@DOKKU_HOSTNAME:myapp.somedomain.com I used /etc/hosts to access the image from a hostname instead of IP. More detailed setup in the various deploy with dokkuContinue reading “Dokku commands: Heroku like deployment with support for docker”
Tag Archives: deploy
Links: Deploy a Rails app with Docker and Dokku
Below are links I had open while learning how to use docker-compose with Rails, and using Dokku for deployments. Dockerize Rails https://semaphoreci.com/community/tutorials/dockerizing-a-ruby-on-rails-application https://thoughtbot.com/blog/rails-on-docker https://www.linode.com/docs/applications/containers/docker-container-communication/ https://docs.docker.com/compose/rails/ Set up CI/CD https://gist.github.com/lucaspiller/d5bf6ea1c06b4dbaad98f97372319324 https://gitlab.com/guided-explorations/containers/kaniko-docker-build/-/blob/master/.gitlab-ci.yml https://docs.gitlab.com/ee/ci/docker/using_kaniko.html Deploy https://medium.com/@rokerkony/how-to-set-your-vps-with-docker-containers-for-multiple-websites-55524e59cae1 https://auth0.com/blog/hosting-applications-using-digitalocean-and-dokku/ http://dokku.viewdocs.io/dokku/getting-started/installation/ http://dokku.viewdocs.io/dokku/deployment/application-deployment/ http://dokku.viewdocs.io/dokku/getting-started/install/digitalocean/ https://blog.ssdnodes.com/blog/getting-started-docker-vps/ https://docs.docker.com/compose/production/ https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04