2021-05-15 12:19:58 +00:00
# vaultwarden
2020-02-01 16:54:03 +00:00
2021-05-15 12:22:17 +00:00
Custom image for Vaultwarden password manager
2020-08-30 21:35:02 +00:00
2021-05-15 12:19:58 +00:00
[![Build Status ](https://img.shields.io/drone/build/docker/vaultwarden?logo=drone&server=https%3A%2F%2Fdrone.rknet.org )](https://drone.rknet.org/docker/vaultwarden)
[![Docker Hub ](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white )](https://hub.docker.com/r/thegeeklab/vaultwarden)
[![Quay.io ](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white )](https://quay.io/repository/thegeeklab/vaultwarden)
[![Source: Gitea ](https://img.shields.io/badge/source-gitea-blue.svg?logo=gitea&logoColor=white )](https://gitea.rknet.org/docker/vaultwarden)
[![License: MIT ](https://img.shields.io/badge/license-MIT-blue.svg )](https://gitea.rknet.org/docker/vaultwarden/src/branch/main/LICENSE)
2020-02-01 16:54:03 +00:00
2021-05-15 12:19:58 +00:00
This is a rootless custom Docker image for [vaultwarden ](https://github.com/dani-garcia/vaultwarden ). Vaultwarden is a Bitwarden server API implementation written in Rust compatible with upstream Bitwarden clients, perfect for self-hosted deployment where running the official resource-heavy service might not be ideal.
2020-02-01 22:14:37 +00:00
2020-10-18 11:23:10 +00:00
> **WARNING**: This build supports SQLite and PostgreSQL database backend only.
2020-02-01 22:14:37 +00:00
2020-02-01 16:54:03 +00:00
## Usage
### Docker Compose
2021-05-15 12:19:58 +00:00
Please take a look at the [example ](https://gitea.rknet.org/docker/vaultwarden/src/branch/main/docker-compose.yml ) compose file from the git repo.
2020-02-01 16:54:03 +00:00
## Configuration
```Shell
2021-05-15 12:19:58 +00:00
VAULTWARDEN_DATABASE_URL=
2020-02-01 16:54:03 +00:00
2021-05-15 12:19:58 +00:00
VAULTWARDEN_TEMPLATES_FOLDER=
VAULTWARDEN_RELOAD_TEMPLATES=False
2020-02-01 16:54:03 +00:00
2021-05-15 12:19:58 +00:00
VAULTWARDEN_IP_HEADER=X-Client-IP
2020-02-01 16:54:03 +00:00
2021-05-15 12:19:58 +00:00
VAULTWARDEN_ICON_CACHE_TTL=2592000
VAULTWARDEN_ICON_CACHE_NEGTTL=259200
2020-02-01 16:54:03 +00:00
2021-05-15 12:19:58 +00:00
VAULTWARDEN_WEB_VAULT_ENABLED=True
VAULTWARDEN_WEBSOCKET_ENABLED=False
2020-02-01 16:54:03 +00:00
2021-05-15 12:19:58 +00:00
VAULTWARDEN_EXTENDED_LOGGING=True
VAULTWARDEN_LOG_LEVEL=Info
2020-02-01 16:54:03 +00:00
2021-05-15 12:19:58 +00:00
VAULTWARDEN_DISABLE_ICON_DOWNLOAD=False
VAULTWARDEN_ICON_DOWNLOAD_TIMEOUT=10
VAULTWARDEN_ICON_BLACKLIST_REGEXL=
VAULTWARDEN_ICON_BLACKLIST_NON_GLOBAL_IPS=True
2020-02-01 16:54:03 +00:00
2021-05-15 12:19:58 +00:00
VAULTWARDEN_DISABLE_2FA_REMEMBER=False
VAULTWARDEN_SIGNUPS_ALLOWED=True
VAULTWARDEN_SIGNUPS_VERIFY=False
VAULTWARDEN_SIGNUPS_VERIFY_RESEND_TIME=3600
VAULTWARDEN_SIGNUPS_VERIFY_RESEND_LIMIT=6
VAULTWARDEN_SIGNUPS_DOMAINS_WHITELIST=
2020-02-01 16:54:03 +00:00
2021-05-15 12:19:58 +00:00
VAULTWARDEN_INVITATIONS_ALLOWED=True
2020-02-01 16:54:03 +00:00
# Set an indicidual admin token to enable the admin UI
2021-05-15 12:19:58 +00:00
VAULTWARDEN_ADMIN_TOKEN=
2020-02-01 16:54:03 +00:00
2021-05-15 12:19:58 +00:00
VAULTWARDEN_PASSWORD_ITERATIONS=100000
VAULTWARDEN_SHOW_PASSWORD_HINT=True
VAULTWARDEN_DOMAIN=http://localhost/
2020-02-01 16:54:03 +00:00
2021-05-15 12:19:58 +00:00
VAULTWARDEN_AUTHENTICATOR_DISABLE_TIME_DRIFT=False
2020-02-01 16:54:03 +00:00
# If you dont set a smtp host, all other smpt settings will be ignored
2021-05-15 12:19:58 +00:00
VAULTWARDEN_SMTP_HOST=
VAULTWARDEN_SMTP_FROM=
VAULTWARDEN_SMTP_FROM_NAME=vaultwarden
VAULTWARDEN_SMTP_PORT=587
VAULTWARDEN_SMTP_SSL=True
VAULTWARDEN_SMTP_USERNAME=
VAULTWARDEN_SMTP_PASSWORD=
VAULTWARDEN_SMTP_AUTH_MECHANISM=Plain
VAULTWARDEN_SMTP_TIMEOUT=15
VAULTWARDEN_ROCKET_WORKERS=
2020-02-01 16:54:03 +00:00
```
2020-02-22 17:08:14 +00:00
## License
2020-02-01 16:54:03 +00:00
2021-05-15 12:19:58 +00:00
This project is licensed under the MIT License - see the [LICENSE ](https://gitea.rknet.org/docker/vaultwarden/src/branch/main/LICENSE ) file for details.