X-Git-Url: http://git.squeep.com/?p=squeep-indie-auther;a=blobdiff_plain;f=config%2Fdevelopment.js;fp=config%2Fdevelopment.js;h=2f69e395ecd1769a8943efe8e4ef17b781573a0a;hp=0000000000000000000000000000000000000000;hb=b0103b0d496262c438b40bc20304081dbfe41e73;hpb=8ed81748bce7cea7904cac7225b20a60cafdfc16 diff --git a/config/development.js b/config/development.js new file mode 100644 index 0000000..2f69e39 --- /dev/null +++ b/config/development.js @@ -0,0 +1,36 @@ +'use strict'; +module.exports = [ + { + authenticator: { + authnEnabled: undefined, // remove all, then set one below + }, + }, + { + encryptionSecret: 'this is not a very good secret', + db: { + connectionString: `postgresql://${encodeURIComponent('/var/lib/postgresql/14/data')}/indieauther`, // local pg socket + queryLogLevel: 'debug', + }, + dingus: { + selfBaseUrl: 'https://ia.squeep.com/', + }, + queues: { + amqp: { + url: 'amqp://guest:guest@rmq.int:5672', + }, + }, + logger: { + ignoreBelowLevel: 'debug', + }, + authenticator: { + authnEnabled: ['argon2'], + }, + chores: { + scopeCleanupMs: 86400000, + tokenCleanupMs: 86400000, + }, + manager: { + allowLegacyNonPKCE: true, + }, + }, +];