infra/roles/vaultwarden/templates/docker-compose.yml.j2
2024-04-12 16:57:00 -04:00

37 lines
1.0 KiB
Django/Jinja

version: '3'
services:
vaultwarden:
container_name: vaultwarden
image: vaultwarden/server:latest
restart: unless-stopped
volumes:
- ./data/:/data/
ports:
- 127.0.0.1:8652:80
environment:
- DOMAIN=https://vaultwarden.internal.simponic.xyz
- LOGIN_RATELIMIT_MAX_BURST=10
- LOGIN_RATELIMIT_SECONDS=60
- ADMIN_RATELIMIT_MAX_BURST=10
- ADMIN_RATELIMIT_SECONDS=60
- ADMIN_TOKEN={{ vaultwarden_admin_token }}
- SENDS_ALLOWED=true
- EMERGENCY_ACCESS_ALLOWED=true
- WEB_VAULT_ENABLED=true
- SIGNUPS_ALLOWED=false
- SIGNUPS_VERIFY=true
- SIGNUPS_VERIFY_RESEND_TIME=3600
- SIGNUPS_VERIFY_RESEND_LIMIT=5
- SIGNUPS_DOMAINS_WHITELIST=simponic.xyz
- SMTP_HOST=mail.simponic.xyz
- SMTP_FROM=info@simponic.xyz
- SMTP_FROM_NAME=VaultWarden
- SMTP_SECURITY=starttls
- SMTP_PORT=587
- SMTP_USERNAME=info@simponic.xyz
- SMTP_PASSWORD={{ email_password }}
- SMTP_AUTH_MECHANISM="Plain"