PreviouslyOnIFM/code/config.lua
2020-10-12 11:17:51 +02:00

19 lines
393 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 = "different greeting",
postgres = {
password = os.getenv('POSTGRES_PASSWORD')
}
})