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-10 00:53:18 +00:00
|
|
|
config "docker", ->
|
2015-01-09 02:44:33 +00:00
|
|
|
port os.getenv "PORT"
|
|
|
|
|
|
|
|
postgres ->
|
|
|
|
backend "pgmoon"
|
2015-01-10 01:12:25 +00:00
|
|
|
print "Using DATABASE_URL #{os.getenv "DATABASE_URL"}"
|
2015-01-10 01:10:41 +00:00
|
|
|
postgresql_url os.getenv "DATABASE_URL"
|