Giter Site home page Giter Site logo

spantaleev / vaultwarden-docker-ansible-deploy Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 4.0 95 KB

๐Ÿณ Vaultwarden (a self-hosted password manager) server setup using Ansible and Docker

License: GNU Affero General Public License v3.0

Makefile 2.68% Jinja 67.14% Shell 30.18%
ansible-playbook automation docker self-hosting vaultwarden vaultwarden-docker

vaultwarden-docker-ansible-deploy's Introduction

Vaultwarden server setup using Ansible and Docker


WARNING: this playbook has been made obsolete by the MASH playbook, which also supports installing the Vaultwarden service. There's a migration guide in the changelog.


This Ansible playbook can help you set up your own Vaultwarden server (unofficial Bitwarden compatible server) instance:

SSL certificates are automatically managed by a Traefik reverse-proxy.

Various components (Postgres, Traefik, etc.) can be disabled and replaced with your own other implementations (see configuring the playbook).

Features

Using this playbook, you can get the following services configured on your server:

  • a Vaultwarden server - a Bitwarden-API-compatible server storing your passwords and providing a web interface

  • (optional) a PostgreSQL database for Vaultwarden

  • (optional) free Let's Encrypt SSL certificate, which secures the connection to the Vaultwarden server

  • (optional) backups

Basically, this playbook aims to get you up-and-running with all the basic necessities around Vaultwarden.

Installation

To configure and install Vaultwarden on your own server, follow the README in the docs/ directory.

Changes

This playbook evolves over time, sometimes with backward-incompatible changes.

When updating the playbook, refer to the changelog to catch up with what's new.

Support

Related

You may also be interested in these other playbooks:

vaultwarden-docker-ansible-deploy's People

Contributors

igogold avatar sagat79 avatar spantaleev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vaultwarden-docker-ansible-deploy's Issues

Non working notifications when path prefix defined

If 'devture_vaultwarden_path_prefix' variable defined (as /some-prefix, without trailing slash), the rule

devture_vaultwarden_container_labels_traefik_rule_websocket: 'Host(`{{ devture_vaultwarden_server_fqn }}`) && Path(`{{ devture_vaultwarden_path_prefix | quote }}notifications/hub`)'

in the 'roles/custom/devture_vaultwarden/defaults/main.yml' creates path without / delimiter, so label file for traefik has such line:

traefik.http.routers.vaultwarden-vaultwarden-websocket.rule=Host(`vaultwarden.domain.com`) && Path(`/some-prefixnotifications/hub`)

which not works then.

###########################################################
'/notifications/hub' should be proxied to the websocket server or notifications won't work.
Go to the Wiki for more info, or disable WebSockets setting WEBSOCKET_ENABLED=false.
###########################################################################################

I don't know correct workaround if 'devture_vaultwarden_path_prefix' is '/' so there is no pull request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.