dt0/config.moon
2018-09-10 07:12:47 -07:00

15 lines
327 B
Plaintext

config = require "lapis.config"
postgres_password = os.getenv "POSTGRES_PASSWORD"
secret_value = os.getenv "SESSION_SECRET"
config "development", ->
postgres ->
host "dt-db"
user "postgres"
database "postgres"
password postgres_password
num_workers 2
code_cache "on"
secret secret_value or "insecure"