From f34dd86b6c5a89f6db6fb661c7110a84bb772b24 Mon Sep 17 00:00:00 2001 From: Sam Dodrill Date: Thu, 8 Jan 2015 18:48:01 -0800 Subject: [PATCH] fix dokku support --- .env | 1 + Procfile | 1 + app.rockspec | 3 ++- config.moon | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .env create mode 100644 Procfile diff --git a/.env b/.env new file mode 100644 index 0000000..da4b734 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +export BUILDPACK_URL='http://github.com/leafo/heroku-buildpack-lua.git' diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..a0af5fa --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: lapis server dokku diff --git a/app.rockspec b/app.rockspec index cde5dc6..31f47d1 100644 --- a/app.rockspec +++ b/app.rockspec @@ -1,3 +1,4 @@ dependencies = { - "lapis" + "lapis", + "https://raw.github.com/leafo/heroku-openresty/master/heroku-openresty-dev-1.rockspec", } diff --git a/config.moon b/config.moon index c2c6923..8b61e98 100644 --- a/config.moon +++ b/config.moon @@ -10,7 +10,7 @@ config "development", -> password "lapis" database "panel" -config "production", -> +config "dokku", -> port os.getenv "PORT" postgres ->