Skip to content

Instantly share code, notes, and snippets.

View jvgreenaway's full-sized avatar
🍕
Eatiing pizza

James Greenaway jvgreenaway

🍕
Eatiing pizza
View GitHub Profile
@jvgreenaway
jvgreenaway / dokku-kirby-autogit.md
Created February 11, 2018 15:02 — forked from woudsma/dokku-kirby-autogit.md
Dokku + Kirby + AutoGit

TL;DR

  • Configure Kirby for Dokku
  • Install deployment-keys and host keys Dokku plugins
  • Set up staging and production environments
  • Clone project repository into apps persistent storage folders
  • Mount desired folders including .git folder to apps
  • Add GIT_DIR and GIT_WORK_TREE environment variables to containers
  • Deploy to Dokku