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-10 02:08:18 +00:00
|
|
|
port 5000
|
2015-01-09 02:44:33 +00:00
|
|
|
|
|
|
|
postgres ->
|
|
|
|
backend "pgmoon"
|
2015-01-10 03:14:27 +00:00
|
|
|
port tostring os.getenv "POSTGRESQL_PORT_5432_TCP_PORT"
|
|
|
|
host tostring os.getenv "POSTGRESQL_PORT_5432_TCP_ADDR"
|
|
|
|
user tostring os.getenv "DB_USER"
|
|
|
|
password tostring os.getenv "DB_PASS"
|
|
|
|
database tostring os.getenv "DB_NAME"
|