passwd0/config.moon
2018-09-10 06:30:17 -07:00

17 lines
351 B
Plaintext

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