Skip to content

rickyyip25/docker-vaultwarden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-vaultwarden

Minimal Docker Compose configuration for Vaultwarden

Image is based on Rust implementation of Bitwarden API.

This project is not associated with the Bitwarden project nor 8bit Solutions LLC.


Installation

Pull this repository, create configuration file, and then start the services with Docker Compose:

# Create a copy of the sample .env file
cp .env.dist .env && cp docker-compose.dist.yml docker-compose.yml

# Modify the configuration file `.env` if needed

# Start services
docker compose up -d

# Stop services
docker compose down

# If using standalone Docker Compose, use `docker-compose` instead of `docker compose`

It is highly recommended to use a reverse proxy like nginx or Traefik to handle incoming (HTTPS) connections.


IMPORTANT: Some web browsers, like Chrome, disallow the use of Web Crypto APIs in insecure contexts. In this case, you might get an error like Cannot read property 'importKey'. To solve this problem, you need to access the web vault from HTTPS.

This can be configured in vaultwarden directly or using a third-party reverse proxy (some examples).

If you have an available domain name, you can get HTTPS certificates with Let's Encrypt, or you can generate self-signed certificates with utilities like mkcert. Some proxies automatically do this step, like Caddy (see examples linked above).

Usage

See the vaultwarden wiki for more information on how to configure and run the vaultwarden server.

About

Docker Compose configuration for Vaultwarden

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published