panel/config.moon

20 lines
370 B
Plaintext

config = require "lapis.config"
config "development", ->
port 8080
postgres ->
backend "pgmoon"
host "127.0.0.1"
user "lapis"
password "lapis"
database "panel"
config "docker", ->
port os.getenv "PORT"
postgres ->
backend "pgmoon"
print "Using DATABASE_URL #{os.getenv "DATABASE_URL"}"
postgresql_url os.getenv "DATABASE_URL"