# Instalação e Configuração Vaultwarden

Cofre de senhas

# Instalação Vaultwarden docker

Link: [https://github.com/dani-garcia/vaultwarden](https://github.com/dani-garcia/vaultwarden)  
Em 04/09/2026

[![Vaultwarden Logo](https://github.com/dani-garcia/vaultwarden/raw/main/resources/vaultwarden-logo-auto.svg)](https://github.com/dani-garcia/vaultwarden/blob/main/resources/vaultwarden-logo-auto.svg)

An alternative server implementation of the Bitwarden Client API, written in Rust and compatible with [official Bitwarden clients](https://bitwarden.com/download/) \[[disclaimer](https://github.com/dani-garcia/vaultwarden#disclaimer)\], perfect for self-hosted deployment where running the official resource-heavy service might not be ideal.

---

[![GitHub Release](https://camo.githubusercontent.com/5ebe18a3c74d52549df3f1449e1861d8a88f2a3615d25ce7da1bb6bb1c296a20/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f64616e692d6761726369612f7661756c7477617264656e2e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d7661756c7477617264656e26636f6c6f723d303035414134)](https://github.com/dani-garcia/vaultwarden/releases/latest) [![ghcr.io Pulls](https://camo.githubusercontent.com/5c693c1fad0f507ac1053dfa30c8f2dfc12b57bbd569ac0f10daf1ca68ad37b7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e3f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562266c6f676f436f6c6f723d66666626636f6c6f723d3030354141342675726c3d687474707325334125324625324669706974696f2e6769746875622e696f2532466261636b61676525324664616e692d6761726369612532467661756c7477617264656e2532467661756c7477617264656e2e6a736f6e2671756572793d2532342e646f776e6c6f616473266c6162656c3d676863722e696f25323070756c6c732663616368655365636f6e64733d3134343030)](https://github.com/dani-garcia/vaultwarden/pkgs/container/vaultwarden) [![Docker Pulls](https://camo.githubusercontent.com/9dd6be5e8434462b2b815c46f5503a5a7b1fb6e3ddc37d7647ea51dd40e151dc/68747470733a2f2f696d672e736869656c64732e696f2f646f636b65722f70756c6c732f7661756c7477617264656e2f7365727665722e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d646f636b6572266c6f676f436f6c6f723d66666626636f6c6f723d303035414134266c6162656c3d646f636b65722e696f25323070756c6c73)](https://hub.docker.com/r/vaultwarden/server) [![Quay.io](https://camo.githubusercontent.com/d70a136e96c56b00c43a56eb9c839253d62f2814ccb1c55c38eb1e1b21f5837f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f717561792e696f2d646f776e6c6f61642d3030354141343f7374796c653d666f722d7468652d6261646765266c6f676f3d7265646861742663616368655365636f6e64733d3134343030)](https://quay.io/repository/vaultwarden/server)   
[![Contributors](https://camo.githubusercontent.com/1b3bd92e150b4792813f105cf4d6106abe6f8eb1e7a9871364f084c5c9d64a6a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732d616e6f6e2f64616e692d6761726369612f7661756c7477617264656e2e7376673f7374796c653d666c61742d737175617265266c6f676f3d7661756c7477617264656e26636f6c6f723d303035414134)](https://github.com/dani-garcia/vaultwarden/graphs/contributors) [![Forks](https://camo.githubusercontent.com/184d50d47ad0b2d63191c6af690a57eabefdfcbcb2b52c22050001d21c9501a1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f64616e692d6761726369612f7661756c7477617264656e2e7376673f7374796c653d666c61742d737175617265266c6f676f3d676974687562266c6f676f436f6c6f723d66666626636f6c6f723d303035414134)](https://github.com/dani-garcia/vaultwarden/network/members) [![Stars](https://camo.githubusercontent.com/d69bfa80894e132e45357482ba1f3f3cab873dd6623f6b234d5f290092f7aaf9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f64616e692d6761726369612f7661756c7477617264656e2e7376673f7374796c653d666c61742d737175617265266c6f676f3d676974687562266c6f676f436f6c6f723d66666626636f6c6f723d303035414134)](https://github.com/dani-garcia/vaultwarden/stargazers) [![Issues Open](https://camo.githubusercontent.com/7125ae2176dd0ac4cb5d2804314a3f047a6587e1116887eeb8332bf95ccd7731/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f64616e692d6761726369612f7661756c7477617264656e2e7376673f7374796c653d666c61742d737175617265266c6f676f3d676974687562266c6f676f436f6c6f723d66666626636f6c6f723d3030354141342663616368655365636f6e64733d333030)](https://github.com/dani-garcia/vaultwarden/issues) [![Issues Closed](https://camo.githubusercontent.com/7deb69267658149a7352c42993b1d5b6ae332aebf960f4dd3e1a3aa48a150157/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d636c6f7365642f64616e692d6761726369612f7661756c7477617264656e2e7376673f7374796c653d666c61742d737175617265266c6f676f3d676974687562266c6f676f436f6c6f723d66666626636f6c6f723d3030354141342663616368655365636f6e64733d333030)](https://github.com/dani-garcia/vaultwarden/issues?q=is%3Aissue+is%3Aclosed) [![AGPL-3.0 Licensed](https://camo.githubusercontent.com/41d59cf7e108e4fddc328aa4a811d88736d12ea6bfa9ace741fa7d726ea1d859/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f64616e692d6761726369612f7661756c7477617264656e2e7376673f7374796c653d666c61742d737175617265266c6f676f3d7661756c7477617264656e26636f6c6f723d3934343030302663616368655365636f6e64733d3134343030)](https://github.com/dani-garcia/vaultwarden/blob/main/LICENSE.txt)   
[![Dependency Status](https://camo.githubusercontent.com/f5f35cbd26459f18783ce21a07ddc73d4184b86982ec55a81cc83948cd13df1d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f786d6c3f75726c3d6874747073253341253246253246646570732e72732532467265706f25324667697468756225324664616e692d6761726369612532467661756c7477617264656e2532467374617475732e7376672671756572793d2532462a2535426c6f63616c2d6e616d65282925334427737667272535442532462a2535426c6f63616c2d6e616d652829253344276727253544253542322535442532462a2535426c6f63616c2d6e616d65282925334427746578742725354425354234253544267374796c653d666c61742d737175617265266c6f676f3d72757374266c6162656c3d646570656e64656e6369657326636f6c6f723d303035414134)](https://deps.rs/repo/github/dani-garcia/vaultwarden) [![GHA Release](https://camo.githubusercontent.com/6fc5fa6799340a7d34c31f660c127e53d9e3f79b49e84c65217df7ae605b7047/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64616e692d6761726369612f7661756c7477617264656e2f72656c656173652e796d6c3f7374796c653d666c61742d737175617265266c6f676f3d676974687562266c6f676f436f6c6f723d666666266c6162656c3d52656c65617365253230576f726b666c6f77)](https://github.com/dani-garcia/vaultwarden/actions/workflows/release.yml) [![GHA Build](https://camo.githubusercontent.com/e2fa688e4255bcfd711ee9c06bc65863a009efe27e81531761bc82f762f96319/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f64616e692d6761726369612f7661756c7477617264656e2f6275696c642e796d6c3f7374796c653d666c61742d737175617265266c6f676f3d676974687562266c6f676f436f6c6f723d666666266c6162656c3d4275696c64253230576f726b666c6f77)](https://github.com/dani-garcia/vaultwarden/actions/workflows/build.yml)   
[![Matrix Chat](https://camo.githubusercontent.com/c92e699c5c35cd48540f204399a8a63f1656c946fd41e31c84fdec9f45a7867f/68747470733a2f2f696d672e736869656c64732e696f2f6d61747269782f7661756c7477617264656e3a6d61747269782e6f72672e7376673f7374796c653d666c61742d737175617265266c6f676f3d6d6174726978266c6f676f436f6c6f723d66666626636f6c6f723d3935334230302663616368655365636f6e64733d3134343030)](https://matrix.to/#/#vaultwarden:matrix.org) [![GitHub Discussions](https://camo.githubusercontent.com/1cf2be6e0c0a65e74abdffc965ceb8800cc8b0529efc4af09c18e0f481aa025b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f64697363757373696f6e732f64616e692d6761726369612f7661756c7477617264656e3f7374796c653d666c61742d737175617265266c6f676f3d676974687562266c6f676f436f6c6f723d66666626636f6c6f723d3935334230302663616368655365636f6e64733d333030)](https://github.com/dani-garcia/vaultwarden/discussions) [![Discourse Discussions](https://camo.githubusercontent.com/81df8ddb1830d240cb9ddad0cc446cb4315aa2e03f5942f5609454b496ecbb0e/68747470733a2f2f696d672e736869656c64732e696f2f646973636f757273652f746f706963733f7365727665723d68747470732533412532462532467661756c7477617264656e2e646973636f757273652e67726f7570253246267374796c653d666c61742d737175617265266c6f676f3d646973636f7572736526636f6c6f723d393533423030)](https://vaultwarden.discourse.group/)

<svg aria-hidden="true" class="octicon octicon-report mr-2" data-component="Octicon" height="16" version="1.1" viewbox="0 0 16 16" width="16"></svg>Important

**When using this server, please report any bugs or suggestions directly to us (see [Get in touch](https://github.com/dani-garcia/vaultwarden#get-in-touch)), regardless of whatever clients you are using (mobile, desktop, browser...). DO NOT use the official Bitwarden support channels.**

## Features

<div class="markdown-heading" dir="auto" id="bkmrk--3" style="text-align: justify;">[<svg aria-hidden="true" class="octicon octicon-link" data-component="Octicon" height="16" version="1.1" viewbox="0 0 16 16" width="16"></svg>](https://github.com/dani-garcia/vaultwarden#features)</div>A nearly complete implementation of the Bitwarden Client API is provided, including:

- [Personal Vault](https://bitwarden.com/help/managing-items/)
- [Send](https://bitwarden.com/help/about-send/)
- [Attachments](https://bitwarden.com/help/attachments/)
- [Website icons](https://bitwarden.com/help/website-icons/)
- [Personal API Key](https://bitwarden.com/help/personal-api-key/)
- [Organizations](https://bitwarden.com/help/getting-started-organizations/)
    - [Collections](https://bitwarden.com/help/about-collections/), [Password Sharing](https://bitwarden.com/help/sharing/), [Member Roles](https://bitwarden.com/help/user-types-access-control/), [Groups](https://bitwarden.com/help/about-groups/), [Event Logs](https://bitwarden.com/help/event-logs/), [Admin Password Reset](https://bitwarden.com/help/admin-reset/), [Directory Connector](https://bitwarden.com/help/directory-sync/), [Policies](https://bitwarden.com/help/policies/)
- [Multi/Two Factor Authentication](https://bitwarden.com/help/bitwarden-field-guide-two-step-login/)
    - [Authenticator](https://bitwarden.com/help/setup-two-step-login-authenticator/), [Email](https://bitwarden.com/help/setup-two-step-login-email/), [FIDO2 WebAuthn](https://bitwarden.com/help/setup-two-step-login-fido/), [YubiKey](https://bitwarden.com/help/setup-two-step-login-yubikey/), [Duo](https://bitwarden.com/help/setup-two-step-login-duo/)
- [Emergency Access](https://bitwarden.com/help/emergency-access/)
- [Vaultwarden Admin Backend](https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page)
- [Modified Web Vault client](https://github.com/dani-garcia/bw_web_builds) (Bundled within our containers)

## Usage

<div class="markdown-heading" dir="auto" id="bkmrk--5" style="text-align: justify;">[<svg aria-hidden="true" class="octicon octicon-link" data-component="Octicon" height="16" version="1.1" viewbox="0 0 16 16" width="16"></svg>](https://github.com/dani-garcia/vaultwarden#usage)</div><svg aria-hidden="true" class="octicon octicon-report mr-2" data-component="Octicon" height="16" version="1.1" viewbox="0 0 16 16" width="16"></svg>Important

The web-vault requires the use of HTTPS and a secure context for the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API).   
That means it will only work if you [enable HTTPS](https://github.com/dani-garcia/vaultwarden/wiki/Enabling-HTTPS).   
We also suggest to use a [reverse proxy](https://github.com/dani-garcia/vaultwarden/wiki/Proxy-examples).

The recommended way to install and use Vaultwarden is via our container images which are published to [ghcr.io](https://github.com/dani-garcia/vaultwarden/pkgs/container/vaultwarden), [docker.io](https://hub.docker.com/r/vaultwarden/server) and [quay.io](https://quay.io/repository/vaultwarden/server). See [which container image to use](https://github.com/dani-garcia/vaultwarden/wiki/Which-container-image-to-use) for an explanation of the provided tags.

There are also [community driven packages](https://github.com/dani-garcia/vaultwarden/wiki/Third-party-packages) which can be used, but those might be lagging behind the latest version or might deviate in the way Vaultwarden is configured, as described in our [Wiki](https://github.com/dani-garcia/vaultwarden/wiki).

Alternatively, you can also [build Vaultwarden](https://github.com/dani-garcia/vaultwarden/wiki/Building-binary) yourself.

While Vaultwarden is based upon the [Rocket web framework](https://rocket.rs) which has built-in support for TLS our recommendation would be that you setup a reverse proxy (see [proxy examples](https://github.com/dani-garcia/vaultwarden/wiki/Proxy-examples)).

<svg aria-hidden="true" class="octicon octicon-light-bulb mr-2" data-component="Octicon" height="16" version="1.1" viewbox="0 0 16 16" width="16"></svg>Tip

**For more detailed examples on how to install, use and configure Vaultwarden you can check our [Wiki](https://github.com/dani-garcia/vaultwarden/wiki).**

### Docker/Podman CLI

<div class="markdown-heading" dir="auto" id="bkmrk--7" style="text-align: justify;">[<svg aria-hidden="true" class="octicon octicon-link" data-component="Octicon" height="16" version="1.1" viewbox="0 0 16 16" width="16"></svg>](https://github.com/dani-garcia/vaultwarden#dockerpodman-cli)</div>Pull the container image and mount a volume from the host for persistent storage.  
You can replace `docker` with `podman` if you prefer to use podman.

```
docker pull vaultwarden/server:latest
docker run --detach --name vaultwarden \
  --env DOMAIN="https://vw.domain.tld" \
  --volume /vw-data/:/data/ \
  --restart unless-stopped \
  --publish 127.0.0.1:8000:80 \
  vaultwarden/server:latest
```

This will preserve any persistent data under `/vw-data/`, you can adapt the path to whatever suits you.

### Docker Compose

<div class="markdown-heading" dir="auto" id="bkmrk--9" style="text-align: justify;">[<svg aria-hidden="true" class="octicon octicon-link" data-component="Octicon" height="16" version="1.1" viewbox="0 0 16 16" width="16"></svg>](https://github.com/dani-garcia/vaultwarden#docker-compose)</div>To use Docker compose you need to create a `compose.yaml` which will hold the configuration to run the Vaultwarden container.

```
services:
  vaultwarden:
    image: vaultwarden/server:latest
    container_name: vaultwarden
    restart: unless-stopped
    environment:
      DOMAIN: "https://vw.domain.tld"
    volumes:
      - ./vw-data/:/data/
    ports:
      - 127.0.0.1:8000:80
```

## Get in touch

<div class="markdown-heading" dir="auto" id="bkmrk--11" style="text-align: justify;">[<svg aria-hidden="true" class="octicon octicon-link" data-component="Octicon" height="16" version="1.1" viewbox="0 0 16 16" width="16"></svg>](https://github.com/dani-garcia/vaultwarden#get-in-touch)</div>Have a question, suggestion or need help? Join our community on [Matrix](https://matrix.to/#/#vaultwarden:matrix.org), [GitHub Discussions](https://github.com/dani-garcia/vaultwarden/discussions) or [Discourse Forums](https://vaultwarden.discourse.group/).

Encountered a bug or crash? Please search our issue tracker and discussions to see if it's already been reported. If not, please [start a new discussion](https://github.com/dani-garcia/vaultwarden/discussions) or [create a new issue](https://github.com/dani-garcia/vaultwarden/issues/). Ensure you're using the latest version of Vaultwarden and there aren't any similar issues open or closed!