panel/config.moon

23 lines
452 B
Plaintext
Raw Normal View History

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 02:48:25 +00:00
port os.getenv "POSTGRESQL_PORT_5432_TCP_PORT"
host os.getenv "POSTGRESQL_PORT_5432_TCP_ADDR"
user os.getenv "DB_USER"
password os.getenv "DB_PASS"
database os.getenv "DB_NAME"