config = require "lapis.config" config "development", -> port 8080 postgres -> backend "pgmoon" host "127.0.0.1" user "lapis" password "lapis" database "panel" config "dokku", -> port os.getenv "PORT" postgres -> backend "pgmoon" host os.getenv "DB_HOST" port os.getenv "DB_PORT" user os.getenv "DB_USER" password os.getenv "DB_PASS" database os.getenv "DB_NAME"