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.
|
2023-10-26 09:21:31 +00:00
|
|
|
# tags: password manager, security
|
2024-02-20 16:08:16 +00:00
|
|
|
# logo: svgs/bitwarden.svg
|
2024-05-31 10:54:16 +00:00
|
|
|
# port: 80
|
2023-10-26 09:21:31 +00:00
|
|
|
|
|
|
|
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}
|
2024-05-28 00:12:59 +00:00
|
|
|
- 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}
|
2023-10-26 09:21:31 +00:00
|
|
|
volumes:
|
|
|
|
- vaultwarden-data:/data
|
|
|
|
healthcheck:
|
2024-05-17 08:11:55 +00:00
|
|
|
test: ["CMD", "curl", "-f", "http://127.0.0.1:80"]
|
2023-10-26 09:21:31 +00:00
|
|
|
interval: 2s
|
|
|
|
timeout: 10s
|
|
|
|
retries: 15
|