Skip to content

Instantly share code, notes, and snippets.

View jvgomg's full-sized avatar
🍕
Eatiiing pizza

James Greenaway jvgomg

🍕
Eatiiing pizza
View GitHub Profile
@jvgomg
jvgomg / 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