Hi,
Having issue accessing the ADMIN panel after setting the environment variable for ADMIN_TOKEN=string in the docker compose file.
When I go to url/admin, i get the message below:
“The admin panel is disabled, please configure the ‘ADMIN_TOKEN’ variable to enable it”
Also, I have set the environment variable for SMTP settings as below and I am still getting a generic error when trying to send email or request password hints as below:
My docker compose file:
version: '3'
services:
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
restart: always
environment:
- WEBSOCKET_ENABLED=true # Enable WebSocket notifications.
- SMTP_EXPLICIT_TLS=true
- SMTP_PASSWORD='xxx'
- SMTP_USERNAME='apikey'
- SMTP_AUTH_MECHANISM='Login'
- SMTP_SSL=false
- SMTP_PORT=465
- SMTP_FROM='xxx'
- SMTP_HOST='smtp.sendgrid.net'
- SIGNUPS_ALLOWED=false
- LOG_FILE='/var/log/vaultwarden.log'
- SHOW_PASSWORD_HINT=false
- ADMIN_TOKEN=xxx
ports:
- 80:80
volumes:
- ./vw-data:/data