lasthourcloud/templates/compose/vaultwarden.yaml

30 lines
1010 B
YAML
Raw Normal View History

2024-02-20 16:08:16 +00:00
# documentation: https://github.com/dani-garcia/vaultwarden
2024-02-22 10:53:25 +00:00
# slogan: Vaultwarden is a password manager that allows you to securely store and manage your passwords.
# tags: password manager, security
2024-02-20 16:08:16 +00:00
# logo: svgs/bitwarden.svg
services:
vaultwarden:
image: vaultwarden/server:latest
environment:
- SERVICE_FQDN_VAULTWARDEN
2024-05-27 07:51:32 +00:00
- DOMAIN=${SERVICE_FQDN_VAULTWARDEN}
- DATABASE_URL=${VAULTWARDEN_DB_URL:-data/db.sqlite3}
- SIGNUPS_ALLOWED=${SIGNUP_ALLOWED:-true}
- ADMIN_TOKEN=${SERVICE_PASSWORD_64_ADMIN}
- SMTP_HOST=${SMTP_HOST}
- SMTP_FROM=${SMTP_FROM_EMAIL}
- SMTP_FROM_NAME=${SMTP_FROM_NAME:-Vaultwarden}
- SMTP_USERNAME=${SMTP_USER}
- SMTP_PASSWORD=${SMTP_PASS}
- SMTP_SECURITY=${SMTP_SECURITY:-starttls}
- SMTP_PORT=${SMTP_PORT}
- SMTP_TIMEOUT=15
volumes:
- vaultwarden-data:/data
healthcheck:
2024-05-17 08:11:55 +00:00
test: ["CMD", "curl", "-f", "http://127.0.0.1:80"]
interval: 2s
timeout: 10s
retries: 15