drmr.nl/code/config.lua
2025-10-12 21:35:48 +02:00

23 lines
443 B
Lua

local config = require("lapis.config")
config({"development", "production"}, {
host = "drmr.nl",
greeting = "Totally Wasted",
mount = "/mnt/data/",
postgres = {
host = "postgres",
user = "postgres",
password = "the_password",
database = "postgres"
}
})
config("production", {
greeting = "nothing here yet",
postgres = {
password = os.getenv('POSTGRES_PASSWORD')
},
logging = {
queries = false
}
})