The secret for configuring the admin token, doesn’t seems to work anymore.
This is an example of the configuration that i had configured in the docker compose file.
vaultwarden:
image: vaultwarden/server:latest
container_name: vaultwarden
environment:
WEBSOCKET_ENABLED: "true" # Enable WebSocket notifications.
SIGNUPS_ALLOWED: 'true'
ADMIN_TOKEN: /run/secrets/admin_token
SMTP_FROM: 'vaultwarden@one4all.icu'
SMTP_HOST: 'smtp.gmail.com'
SMTP_PORT: '587'
SMTP_SECURITY: 'starttls'
SMTP_USERNAME: 'bbarnoux@gmail.com'
SMTP_PASSWORD: /run/secrets/smtp_password
LOG_FILE: '/var/log/vaultwarden/vaultwarden.log'
LOG_LEVEL: "info"
ROCKET_CLI_COLORS: "false"
EXTENDED_LOGGING: "true"
IP_HEADER: "X-Forwarded-For"
secrets:
- admin_token
- smtp_password
volumes:
- vaultwarden-data:/data
- logs:/var/log/vaultwarden
secrets:
admin_token:
file: ./vaultwarden/admin_token.txt
smtp_password:
file: ./vaultwarden/smtp_password.txt
backup_password:
file: ./vaultwarden/zip_password.txt
Did i miss something ?
Regards,
BBA