From 0b82f2171fa08a00f30764dae9279df68012a667 Mon Sep 17 00:00:00 2001 From: Alexander Olofsson <alexander.olofsson@liu.se> Date: Thu, 2 Nov 2017 16:03:44 +0100 Subject: [PATCH] Add postgres connection config example block --- config.js.example | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config.js.example b/config.js.example index 0505c0b..d9edd4f 100644 --- a/config.js.example +++ b/config.js.example @@ -18,6 +18,15 @@ module.exports = { client_callback: "<callback URL>", }, + // Same values as for connection with libpq + postgres: { + user: 'username', + host: 'pg.example.com', + database: 'db_name', + password: 'password', + port: 1234 + }; + // Same values as for https://gitlab.liu.se/help/api/users.md#user-creation creation_default: { external: true, -- GitLab