Giter Site home page Giter Site logo

recaptime-dev / vaultwarden-docker Goto Github PK

View Code? Open in Web Editor NEW
6.0 0.0 11.0 167 KB

A hard fork of https://github.com/std2main/bitwardenrs_heroku, containing scripts for generating one and even deploying into supported PaaS service.

License: GNU General Public License v3.0

Dockerfile 9.41% Shell 90.59%
vaultwarden railway-starter docker

vaultwarden-docker's Introduction

Vaultwarden on any Dockerfile-supported PaaS

Run Vaultwarden on supported PaaS platforms where Dockerfiles are supported.

Based on official Vaultwarden docker image and also hard-forked from the original bitwardenrs_heroku repo, I added customized scripts to setup and manage in both Divio and Railway enviroments.

Goal

  • Deploy a reliable Vaultwarden instance for free as easy as possible.
  • Deploying one requires basic command line skills. You'll be guided through the setup guide.
  • Maintainance: Almost zero, as long as you keep it up to date.
  • As more functions as budget support
    1. Essentials and backups: Most PaaS services have some sort of backup options, but only the database is usually backed up. You can always manually backup if you want.
    2. Icons: They'll always pulled on startup for new deploys. You can optionally disable it in the vaultwarden-startup file.
    3. TODO: Realtime syncing cross multiple devices. This requires Nginx setup chaos.
    4. TODO: Attachments. Since containers don't usually keep files once destoryed, we may consider doing some AWS S3 magic soon. (Speaking of setting this up on an Kubernetes-centric PaaS services like Okteto Cloud, we'll working on to add one soon.)
  • And to test-run Vaultwarden, an Docker Compose file is being developing for that btw.

Setting up / Upgrading

See the installation guide on installing BitwardenRS on either Divio or Railway, as you choose.

Ypu can even follow the setup guide in an cloud environment like Gitpod. Just hit the button below, and you can fire up the terminal and follow along without ever needing to install anything in your local machine

Gitpod ready-to-code

Features

Most of PaaS platforms like Divio and Railway have support for Dockerfiles, so you should be probably fine.

Limitations

Since we're running our own Vaultwarden instance in an Docker container, there is no persistent storage on most PaaS services. Thus, attachments are disabled and any changes to the configuration through the admin panel will be lost on deploy.

FAQ

  • Can't receive the verification link into my inbox or mostly fall to spam/junk. Now what?
  • Admin panel is disabled, but I want to get support string or invite users. How?
    • Manual: Set the ENABLE_ADMIN into true, then use an password generator for the ADMIN_TOKEN.
    • Automated: Run ./tools/enable-admin-panel <paas-platform-slug>
  • How do I configure my instance?
    • All environment variables will be treated as configuration of Vaultwarden.
    • When using Divio/Railway/other services that use containers, backup your changes on admin panel as the filesystem don't usually presist on containers. because on every deploy, changes are loss.
  • I'm logged out after navigating away from the web vault. Hpw do I fix it?
    • Run ./tools/generate-rsakey <paas-platform-slug> to enable persistent RSA key on every website session.

vaultwarden-docker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

vaultwarden-docker's Issues

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.