diff --git a/app.rockspec b/app.rockspec index 739d7e0..a701a5f 100644 --- a/app.rockspec +++ b/app.rockspec @@ -1,5 +1,8 @@ +name = "panel" + dependencies = { "moonscript", "lapis", - "https://raw.github.com/leafo/heroku-openresty/master/heroku-openresty-dev-1.rockspec", } + +-- vim: ft=lua diff --git a/config.moon b/config.moon index 8b61e98..633d2b8 100644 --- a/config.moon +++ b/config.moon @@ -20,3 +20,10 @@ config "dokku", -> user os.getenv "DB_USER" password os.getenv "DB_PASS" database os.getenv "DB_NAME" + +config "docker", -> + port os.getenv "PORT" + + postgres -> + backend "pgmoon" + postgresql_url os.getenv "DATABASE_URL"