2015-01-05 21:41:19 +00:00
|
|
|
config = require "lapis.config"
|
|
|
|
|
|
|
|
config "development", ->
|
|
|
|
port 8080
|
|
|
|
|
|
|
|
postgres ->
|
|
|
|
backend "pgmoon"
|
|
|
|
host "127.0.0.1"
|
|
|
|
user "lapis"
|
|
|
|
password "lapis"
|
|
|
|
database "panel"
|
|
|
|
|
2015-01-09 02:48:01 +00:00
|
|
|
config "dokku", ->
|
2015-01-09 02:44:33 +00:00
|
|
|
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"
|