15 lines
327 B
Plaintext
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"
|