Server: Non-scripted on premises deployment

Created on 18 Feb 2018  路  7Comments  路  Source: bitwarden/server

It would be nice to have a more rigorous, non pre-scripted way of self-hosting Bitwarden on one's own infrastructure.

I am, for example, already managing a Docker environment via Rancher and will soon be migrating to Kubernetes. An externally written script could easily screw something up inside the ecosystem by interacting with the Docker daemon and bypassing the chosen orchestrator.

Something like a plain Docker Compose file or simply a list of required dependencies could greatly help in manually reproducing the automated deployment while keeping it under the chosen orchestrator's management and avoiding conflicts.

Most helpful comment

If your interested, I've been working on a helm chart for running bitwarden, its not quite working yet, but nearly... https://github.com/mcfedr/bitwarden-chart

All 7 comments

You can see how the compose files are generated here: https://github.com/bitwarden/core/blob/master/util/Setup/DockerComposeBuilder.cs

I've noticed that file, but it seems a rather hacky solution to extract a template from it: a large number of relative paths are referenced and env files are imported - plus it's an entirely undocumented approach.

While it could sound like it, this doesn't want to be a critic - I'd be happy to help documenting the process once I'll get to consistently reproduce a scriptless deployment :)

@nmaggioni That's exactly what it is. I wasn't suggesting that this issues wasn't valid, I'm just trying to point you in the right direction since that's what's available today.

I'd like to see this for much the same reason.

Another issue to note is that I'm already running an nginx ingress that will letsencrypt things for me so need to bypass that process. The instructions/process would let me piece together how I might do that.

@cooperaj For the moment I solved this by isolating BW inside an LXC container and placing a reverse proxy in front of it.

We are moving away from tracking Bitwarden feature requests like this one as GitHub issues. We have created a Bitwarden Community Forum which has a section for submitting, voting for, and discussing product feature requests.

Please sign up on our forums, search to see if this request already exists. If so, you can vote for it and contribute to any discussions about it. If not, you can re-create the request there so that it can be properly tracked.

This issue will now be closed. Thanks!

If your interested, I've been working on a helm chart for running bitwarden, its not quite working yet, but nearly... https://github.com/mcfedr/bitwarden-chart

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mr-gosh picture mr-gosh  路  3Comments

chasgames picture chasgames  路  4Comments

chessgriffin picture chessgriffin  路  3Comments

theontho picture theontho  路  4Comments

marcrib picture marcrib  路  5Comments