Aggiunta configurazione SMTP per Vaultwarden

This commit is contained in:
piccihud 2024-03-25 21:29:12 +01:00
parent 6e0237c7f8
commit ae582ffb00
1 changed files with 12 additions and 0 deletions

View File

@ -134,12 +134,24 @@ services:
ADMIN_TOKEN: "YourReallyStrongAdminTokenHere"
EMERGENCY_ACCESS_ALLOWED: "true"
SIGNUPS_VERIFY: "false"
SMTP_HOST: "mail.infomaniak.com"
SMTP_FROM: "mail@ik.me"
SMTP_SECURITY: "starttls"
SMTP_PORT: 587
SMTP_USERNAME: "mail@ik.me"
SMTP_PASSWORD: "YourReallyStrongPassword"
volumes:
- ./vw-data:/data
```
Come da wiki ([https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page](https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page)), la pagina Admin, e' accessibile al seguente indirizzo: [https://vault.domain.com/admin]. A questo punto, bisognera' inserire il token.
Per la configurazione SMTP: [https://github.com/dani-garcia/vaultwarden/wiki/SMTP-configuration](https://github.com/dani-garcia/vaultwarden/wiki/SMTP-configuration)
I parametri per Infomaniak: [https://www.infomaniak.com/en/support/faq/2023/authenticated-mail-smtp-from-a-website](https://www.infomaniak.com/en/support/faq/2023/authenticated-mail-smtp-from-a-website)
Per le password, sarebbe meglio impostare un file `.env` con le varie variabili.
Per altre info:
- [https://github.com/dani-garcia/vaultwarden/wiki/Using-Docker-Compose](https://github.com/dani-garcia/vaultwarden/wiki/Using-Docker-Compose)