35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
version: '3'
|
|
|
|
services:
|
|
vaultwarden:
|
|
restart: always
|
|
container_name: vaultwarden
|
|
image: vaultwarden/server:latest
|
|
volumes:
|
|
- ./vw-data/:/data/
|
|
ports:
|
|
- 8052:8052
|
|
environment:
|
|
- SMTP_HOST=smtp.gmail.com
|
|
- SMTP_FROM=yourmailadress@gmail.com
|
|
- SMTP_FROM_NAME=Vaultwarden
|
|
- SMTP_SECURITY=force_tls
|
|
- SMTP_PORT=465
|
|
- SMTP_USERNAME=yourmailadress@gmail.com
|
|
- SMTP_PASSWORD=YourAppPasswort
|
|
- SMTP_TIMEOUT=30
|
|
- SMTP_AUTH_MECHANISM="Plain"
|
|
- LOGIN_RATELIMIT_MAX_BURST=10
|
|
- LOGIN_RATELIMIT_SECONDS=60
|
|
- DOMAIN=yourDomain or IP-Adress
|
|
- INVITATION_ORG_NAME=HomeVault
|
|
- INVITATIONS_ALLOWED=true
|
|
- ADMIN_TOKEN=YourArgon2 key or Passwort
|
|
- SIGNUPS_ALLOWED=true
|
|
- SIGNUPS_DOMAINS_WHITELIST=example.com,mydomain.net,myotherdomain.org
|
|
- SIGNUPS_VERIFY=true
|
|
- SIGNUPS_VERIFY_RESEND_TIME=3600
|
|
- SIGNUPS_VERIFY_RESEND_LIMIT=6
|
|
- EMERGENCY_ACCESS_ALLOWED=true
|
|
- SENDS_ALLOWED=true
|
|
- WEB_VAULT_ENABLED=true |