Hi all! Please help. Situation:
Installing from docker-compose:
version: "3"
services:
vaultwarden:
container_name: vaultwarden
dns:
- 1.1.1.1
environment:
#- ADMIN_TOKEN=/run/secrets/vaultwarden-admin-pw
- globalSettings__mail__replyToEmail=<EMAIL>
- globalSettings__mail__smtp__host=smtp.gmail.com
- globalSettings__mail__smtp__username=<EMAIL>
- globalSettings__mail__smtp__password=<PASSWORD>
- globalSettings__mail__smtp__ssl=true
- globalSettings__mail__smtp__port=587
- globalSettings__disableUserRegistration=true
- WEBSOCKET_ENABLED=true
- ROCKET_ENV=prod
- ROCKET_WORKERS=10
- TZ=Europe/Berlin
- LOG_LEVEL=error
- EXTENDED_LOGGING=true
hostname: vaultwarden
ports:
- 9565:80
image: vaultwarden/server:latest
labels:
com.centurylinklabs.watchtower.monitor-only: true
restart: unless-stopped
volumes:
- /mnt/docker-volumes/vaultwarden:/data
vaultwarden-backup:
container_name: vaultwarden-backup
image: bruceforce/vaultwarden-backup:latest
restart: unless-stopped
init: true
depends_on:
- vaultwarden
labels:
com.centurylinklabs.watchtower.monitor-only: true
volumes:
- /mnt/docker-volumes/vaultwarden:/data/
- /mnt/docker-volumes/vaultwarden/backup:/myBackup
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
environment:
- TIMESTAMP=true
- DELETE_AFTER=30
- UID=0
- GID=1000
- TZ=Europe/Berlin
- BACKUP_DIR=/myBackup
- CRON_TIME=50 3 * * *
After successful installation, I sent a subdomain to a port in nginx:
server {
server_name vault.site.com; # your host name
location / {
proxy_pass http://localhost:9565;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/vault.site.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/vault.site.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = vault.site.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name vault.site.com;
listen 80;
#return 404; # managed by Certbot
}
I go to the subdomain, the system prompts you to enter an email. I enter, the system says - “Enter your account email to receive a hint for the master password.”. I enter, send and get an error:
vaultwarden | [2023-06-04 13:46:36.996][vaultwarden::api::core::accounts][ERROR] This server is not configured to provide password hints.