hedgedoc/docs/content/references/config/general.md
Erik Michelson 7f665fae4b
Some checks are pending
Docker / build-and-push (frontend) (push) Waiting to run
Docker / build-and-push (backend) (push) Waiting to run
Deploy HD2 docs to Netlify / Deploys to netlify (push) Waiting to run
E2E Tests / backend-sqlite (push) Waiting to run
E2E Tests / backend-mariadb (push) Waiting to run
E2E Tests / backend-postgres (push) Waiting to run
E2E Tests / Build test build of frontend (push) Waiting to run
E2E Tests / frontend-cypress (1) (push) Blocked by required conditions
E2E Tests / frontend-cypress (2) (push) Blocked by required conditions
E2E Tests / frontend-cypress (3) (push) Blocked by required conditions
Lint and check format / Lint files and check formatting (push) Waiting to run
REUSE Compliance Check / reuse (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Static Analysis / Njsscan code scanning (push) Waiting to run
Static Analysis / CodeQL analysis (push) Waiting to run
Run tests & build / Test and build with NodeJS 20 (push) Waiting to run
feat(auth): refactor auth, add oidc
Thanks to all HedgeDoc team members for the time discussing,
helping with weird Nest issues, providing feedback
and suggestions!

Co-authored-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-09-11 21:29:49 +02:00

2.2 KiB

General

environment variable default example description
HD_BASE_URL - https://md.example.com The URL the HedgeDoc instance is accessed with, like it is entered in the browser
HD_BACKEND_PORT 3000 The port the backend process listens on.
HD_FRONTEND_PORT 3001 The port the frontend process listens on.
HD_RENDERER_BASE_URL Content of HD_BASE_URL The URL the renderer runs on. If omitted this will be the same as HD_BASE_URL. For more detail see this faq entry
HD_INTERNAL_API_URL Content of HD_BASE_URL http://localhost:3000 This URL is used by the frontend to access the backend directly if it can't reach the backend using the HD_BASE_URL
HD_LOGLEVEL warn The loglevel that should be used. Options are error, warn, info, debug or trace.
HD_SHOW_LOG_TIMESTAMP true Specifies if a timestamp should be added to the log statements. Disabling is useful for extern log management (systemd etc.)