dani-garcia / vaultwarden

Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
GNU Affero General Public License v3.0
38.47k stars 1.87k forks source link

Bitwarden HA setup problems #853

Closed fr-ashvini closed 4 years ago

fr-ashvini commented 4 years ago

Subject of the issue

Hi I have two bitwarden server connected to external database. Basically objective is to achieve high availability. So the issue was to replicate the databases, so cameup with an idea to share the efs volume among the database and put the databases in docker swarm network.

Your environment

Steps to reproduce

Expected behaviour

Actual behaviour

Relevant logs

fr-ashvini commented 4 years ago

command used is docker service create -v /home/ec2-user/efs -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=password123" -p 1433:1433 --name sql1 -d mcr.microsoft.com/mssql/server:2019-GA-ubuntu-16.04

and then updatedb on bitwarden servers.

but its not as required.

mprasil commented 4 years ago

I'm kinda confused what documentation you follow. You're using mssql, which is not supported by bitwarden_rs and the is no updatedb command either.

Are you using the official bitwarden server? If yes, you need to ask for help there.

If you actually want to use bitwarden_rs, read the documentation here.

mprasil commented 4 years ago

Also please fill in the information about your environment in the issue template, that might clear some confusion.

fr-ashvini commented 4 years ago

Hi Thanks for reply. Iam using Offical Bitwarden server. Thank you for your time.