You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 7, 2024. It is now read-only.
You can also define the DB_ADAPTER= 'postgres' so that you don't change anything in local.js.
To make it short, you just need to start the app with all the needed environment variables defined
DB_ADAPTER=postgres
DB_HOST=<your_db_host>
DB_PORT= <your_db_port>
DB_USER=<your_db_user>
DB_PASSWORD=<your_db_pass>
DB_DATABASE=konga_database (or whatever you want to call it)
DB_POOLSIZE=10
DB_SSL=1 (Only if you connect to you db securely)
I am having common postgre server
I have changed config/local.js to below
Scenario 1
models: {
connection: process.env.DB_ADAPTER || 'postgres',
},
as well as (scenario2)
models: {
connection: 'postgresql://konga:konga@192.168.10.102:5432/konga',
},
But "npm start" fails to conenct to db. My KONG is working fine with that external DB(with seperate username password and database)
Can any one enlighten me? am i missing something
The text was updated successfully, but these errors were encountered: