15 lines
299 B
Plaintext
15 lines
299 B
Plaintext
config = require "lapis.config"
|
|
import sql_password, session_secret, _domain, _port from require "secret"
|
|
|
|
config "production", ->
|
|
postgres ->
|
|
host "127.0.0.1"
|
|
user "simplex"
|
|
password sql_password
|
|
database "simplex"
|
|
domain _domain
|
|
port _port
|
|
|
|
num_workers 4
|
|
code_cache "on"
|