lasthourcloud/templates/compose/vaultwarden.yaml

26 lines
890 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}
- IP_HEADER=X-Forwarded-For
2024-05-27 22:40:35 +00:00
- PUSH_ENABLED=${PUSH_ENABLED:-false}
- PUSH_INSTALLATION_ID=${PUSH_SERVICE_ID}
- PUSH_INSTALLATION_KEY=${PUSH_SERVICE_KEY}
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