Skip to content

Commit 6fa08e0

Browse files
committed
update example override file
Signed-off-by: Jens Langhammer <[email protected]>
1 parent a90d64a commit 6fa08e0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

website/docs/developer-docs/setup/debugging.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,16 @@ A local clone of the authentik repository is required to be able to set breakpoi
2828

2929
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.
3030

31-
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.
31+
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, change the user and enable debug mode.
3232

3333
```yaml
3434
services:
35+
# Replace `server` with `worker` to debug the worker container.
3536
server:
3637
user: root
38+
environment:
39+
AUTHENTIK_DEBUG: "true"
40+
AUTHENTIK_LOG_LEVEL: "debug"
3741
ports:
3842
- 9901:9901
3943
```

0 commit comments

Comments
 (0)