Hello,
I’m using vaultwarden in docker with a docker compose file. This morning vaultwarden does’t start because of this :
/--------------------------------------------------------------------\
bitwarden | | Starting Vaultwarden |
bitwarden | | Version 1.25.0 |
bitwarden | |--------------------------------------------------------------------|
bitwarden | | This is an *unofficial* Bitwarden implementation, DO NOT use the |
bitwarden | | official channels to report bugs/features, regardless of client. |
bitwarden | | Send usage/configuration questions or feature requests to: |
bitwarden | | https://vaultwarden.discourse.group/ |
bitwarden | | Report suspected bugs/issues in the software itself at: |
bitwarden | | https://github.com/dani-garcia/vaultwarden/issues/new |
bitwarden | \--------------------------------------------------------------------/
bitwarden |
bitwarden | [INFO] No .env file found.
bitwarden |
bitwarden | Error validating domain: relative URL without a base
bitwarden | Error loading config:
bitwarden | DOMAIN variable needs to contain the protocol (http, https). Use 'http[s]://bw.example.com' instead of 'bw.example.com'
bitwarden |
Or i’ve checked my .env file and DOMAIN variable is configured fine :
SIGNUPS_ALLOWED=true
DATABASE_URL=data/db.sqlite3
ADMIN_TOKEN=
DOMAIN='https://vault.mydomain.tld'
SMTP_HOST=server imap
SMTP_FROM=no-reply@mydomain.tld
#SMTP_FROM_NAME=vault.mydomain.tld
SMTP_PORT=587
SMTP_SECURITY=starttls
SMTP_USERNAME=no-reply@mydomain.tld
SMTP_PASSWORD=*******
SMTP_AUTH_MECHANISM=Login
SMTP_TIMEOUT=15
SIGNUPS_VERIFY=true
EMAIL_ATTEMPTS_LIMIT=3
EMAIL_TOKEN_SIZE=6
I don’t find any solution for my trouble. Anyone as encountred this before ?