1
0
Fork 0
mirror of https://github.com/hedgedoc/hedgedoc.git synced 2025-03-18 05:24:49 +00:00
hedgedoc/lib
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
..
config feat(config): Improve configurability of database by env 2021-08-13 01:58:53 +02:00
migrations Add missing catch 2020-12-02 19:39:06 +01:00
models Add help link and short explanation for failing migrations 2021-07-21 00:06:07 +02:00
ot
web fix(s3): replace dash with dot for s3 endpoint 2021-08-04 16:09:08 +03:00
workers Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
csp.js Remove unsafe-eval from default CSP 2021-06-07 23:04:45 +02:00
errors.js Check for existing notes on POST and dont override them 2021-03-29 23:00:34 +02:00
history.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
letter-avatars.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
logger.js
prometheus.js Add custom prometheus metrics 2021-04-25 20:06:56 +02:00
realtime.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
response.js Replace request library with node-fetch 2021-03-12 22:27:49 +01:00
utils.js Exclude /metrics and /status routes from session initialization 2021-07-20 23:56:54 +02:00