From a90d64a11c143d72145cca91a6215a953a7e4d67 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 25 Jan 2025 19:14:14 +0100 Subject: [PATCH] add user: root Signed-off-by: Jens Langhammer --- website/docs/developer-docs/setup/debugging.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/docs/developer-docs/setup/debugging.md b/website/docs/developer-docs/setup/debugging.md index 6cae91cf8de2..6237e08b69d3 100644 --- a/website/docs/developer-docs/setup/debugging.md +++ b/website/docs/developer-docs/setup/debugging.md @@ -26,11 +26,14 @@ When debugging an authentik instance running in containers, there are some addit A local clone of the authentik repository is required to be able to set breakpoints in the code. The locally checked out repository must be on the same version/commit as the authentik version running in the containers. To checkout version 2024.12.3 for example, you can run `git checkout version/2024.12.3`. -The debug port needs to be accessible on the local machine. By default, this is port 9901. When running in docker compose, a file `docker-compose.override.yml` can be created next to the authentik docker-compose.yml file to expose the ports. +The debug port needs to be accessible on the local machine. By default, this is port 9901. Additionally, the container being debugged must be started as root as additional dependencies need to be installed on startup. + +When running in docker compose, a file `docker-compose.override.yml` can be created next to the authentik docker-compose.yml file to expose the port and change the user. ```yaml services: server: + user: root ports: - 9901:9901 ```