17 lines
351 B
Plaintext
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
|