initial commit
[squeep-indie-auther] / config / development.js
diff --git a/config/development.js b/config/development.js
new file mode 100644 (file)
index 0000000..2f69e39
--- /dev/null
@@ -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,
+    },
+  },
+];