set up demo mode

This commit is contained in:
fred 2025-08-05 18:11:03 +00:00
parent 9aac6e0eff
commit 04bfdd0c8f
10 changed files with 93 additions and 16 deletions

View file

@ -20,6 +20,25 @@ module.exports = {
},
},
demo: {
client: "postgresql",
connection: {
host: "db",
port: process.env.DB_PORT,
database: process.env.DB_NAME,
user: process.env.DB_USER,
password: process.env.DB_PASSWORD,
},
pool: {
min: 2,
max: 10,
},
migrations: {
tableName: "knex_migrations",
directory: "./migrations",
},
},
production: {
client: "postgresql",
connection: {