hedgedoc/lib/config
Sheogorath 1428a8e006
feat(config): Improve configurability of database by env
This patch implements 6 additional environment variables that are used
for configuration of the database in order to allow easier configuration
in containerised environments, such as Kubernetes.

An example is the upcoming deployment of the demo instance that will use
an operator-backed postgresql database. This operator exposes username
and password as separate variables and while it's obviously possible to
generate a dbURL from that, this won't be possible without additional
code. Aiming for a solution in Hedgedoc itself, will help us to enable
other people in using Hedgedoc on Kubernetes without resulting in overly
customised setups for simple tasks like this.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2021-08-13 01:58:53 +02:00
..
default.js Disable GA and Disqus in default CSP 2021-06-07 22:57:12 +02:00
defaultSSL.js Rename forgotten values 2018-03-26 20:15:45 +02:00
dockerSecret.js Add Google oauth variable: hostedDomain 2020-02-08 15:57:22 +08:00
enum.js refactor(config.js): Extract config file 2017-05-08 19:29:07 +08:00
environment.js feat(config): Improve configurability of database by env 2021-08-13 01:58:53 +02:00
hackmdEnvironment.js Don't add new config option in hackmd compatibility layer 2021-01-23 16:20:03 +01:00
index.js Automatically enable protocolUseSSL when useSSL is set 2021-05-06 21:19:14 +02:00
oldDefault.js Remove pdf export code 2020-11-26 21:09:23 +01:00
oldEnvironment.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
utils.js Fix wrong reading from commit 2018-11-12 11:18:38 +01:00