PreviouslyOnIFM/code/config.lua

22 lines
427 B
Lua

local config = require("lapis.config")
config({"development", "production"}, {
host = "tracks.intergalactic.fm",
greeting = "dingen",
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
}
})