mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-23 08:32:45 -05:00
[GH-ISSUE #3767] Can't generate Admin-Token on Docker behind Traefik #18436
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LucEast on GitHub (Aug 11, 2023).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/3767
Subject of the issue
Deployment environment
Install method: Docker
Clients used: -
Reverse proxy and version: Traefik 2.10.3
MySQL/MariaDB or PostgreSQL version: -
Other relevant details: -
Steps to reproduce
I tried to generate a Admin-Token via
docker exec -it {ContainerName} /vaultwarden hashand within the container itself(docker exec -it {ContainerName} /bin/bash./vaultwarden hash)As written above my vaultwarden container sits behind a Traefik reverse-proxy. I googled the error and saw that it needs port 80 to perform this action?! However port 80 is used by my Traefik. I also tried to use the docker-compose environment variable:
- PORT=8080and- PORT=8081but that doesn't work either.Expected behaviour
Prompt for user input
Actual behaviour
Troubleshooting data