panel/config.moon

20 lines
389 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"
postgresql_url "postgres://panel:rB63V6E0z7sufvum@172.17.0.20:5432/panel"
postgresql_url os.getenv "DATABASE_URL"