Hello, I am trying to set up a Forward Auth (Domain Level) proxy. I have Traefik and Authentik both installed in Docker containers (compose files attached).
- When I try to docker compose up the Traefik compose file, I get an error about port 9000 already being in use. I note that the Authentik server (in the Authentik docker-compose.yml) has port 9000 defined. Is this the correct way of doing things? Or can I change this so that Traefik can use port 9000 instead? If so, how can I do this?
- The authentik-proxy service (within the Traefik docker-compose.yml) has a line "AUTHENTIK_TOKEN: token-generated-by-authentik". Where can I find this token? I was able to find a token by going into Authentik > Applications > Outposts, and then clicking on "View Deployment Info" next to "Domain Forward Auth Provider", and then clicking the "Click to copy token" button. Is this the correct token to use or is it meant to be retrieved from elsewhere?
- Is this the correct way of proceeding to achieve this goal (having Authentik enabled for all of my services, using Traefik as a proxy)? Or am I going down the wrong path?
Thank you in advance.