panel/config.moon

30 lines
544 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 "dokku", ->
port os.getenv "PORT"
postgres ->
backend "pgmoon"
host os.getenv "DB_HOST"
port os.getenv "DB_PORT"
user os.getenv "DB_USER"
password os.getenv "DB_PASS"
database os.getenv "DB_NAME"
config "docker", ->
port os.getenv "PORT"
postgres ->
backend "pgmoon"
postgresql_url os.getenv "DATABASE_URL"