On-Premise Hosting w/ Docker - Beta
I am opening this issue to gather feedback for beta testing on-premise hosting of bitwarden.
Docs
- Installing & Deploying: https://help.bitwarden.com/article/install-on-premise/
- Updating: https://help.bitwarden.com/article/updating-on-premise/
These docs are a WIP so if you have any feedback on then, please let me know.
Licensing
On-premise hosting requires a license for certain features such as premium membership and creating an organization (enterprise only).
You can use the following beta license files when upgrading your account to premium or creating an organization from the web vault. Note that these licenses will only work on beta installations and expire 30 days from now.
Note that premium licenses are tired to the user's email address. This means that to use the beta testing premium license above you must create a user account with the email address [email protected]. It will not work with any other email address.
Installation id and key for these licenses is:
Installation Id: 20A048D1-F854-47E3-934D-8796473981B0
Installation Key: NBRu5oWbJs7MNpRyVdDbJSU
Feedback
Please provide feedback in this issue. Do not open new issues about problems with Docker deployments. We are interested in knowing any issues you run into or any general feedback with the installation/deployment process in general (even if only positive feedback).
Warning
You should only use this beta for testing. DO NOT STORE SENSITIVE DATA IN THESE BETA INSTALLATIONS. There could be bugs and other vulnerabilities in these installations. There will be no upgrade path to the production builds from these beta installations and they should be removed when you are done.
Latest dev build of the browser extension allow you to set the environment URLs from the login page.

TVP issue mentioned has been temporarily resolved for now, so you should be able to use everything without issue. If you have already deployed you can update with
./bitwarden.sh stop./bitwarden.sh update./bitwarden.sh start
Quick Question: The On-Premise Hosting or the Docker Container Features, are they just available for Enterprise customers later or available for everybody?

@stev-it It will be free for everyone to self-host, however, if you want to unlock the premium features it will require a premium license. If you want to create an organization it will require an enterprise license.
@kspearrin Hi. Thanks for the work! Will we get a release soon of Bitwarden Mobile with your last great commit?
Btw, I would love an integration of Bitwarden as an extension of Nextcloud. It would be a killer-app.
@HLFH You can download the latest mobile apk from here: https://ci.appveyor.com/project/bitwarden/mobile/build/artifacts
Note that this APK is not compatible with the current bitwarden production server, though it will work with your locally hosted installations if you change the environment URLs.
I've started working on some of the official help documentation for installing and deploying bitwarden via Docker in our help center here: https://help.bitwarden.com/article/install-on-premise/
Hello! There is an issue with attached files download: application returns 404 with empty response body.
@migolovanov Thanks! This has now been fixed. Just run the update command. Please let me know if it is working for you now.
@kspearrin During update it didn't pull new version of docker containers, but when i done that step manually everything works fine. Thank you very much!
@migolovanov I think I need to add docker pull to the update.
wow have been watching this project for quite some while as my last solution was a passopolis based server, but it s not really maintained anymore and was a pain to setup. I had a bitwarden docker server up and running in notime, very nice! I have a few question now though, Is it possible to disable registration, or a system that would need admin approval? Will the ios app get an update to enter a custom server url in the future? Any hint where i can change the email template? it seems it still got a wrong sender adress included.
@tcjew
- Currently, no, but that is a good idea for personal users. I will add something.
- Yes, the iOS app is already ready. We just need to push out the update when we go live.
- Yes, you can change the "from" address in the
./bitwarden/env/global.override.envfile. Add a line like this:
[email protected]
Awesome job, @kspearrin
I just took it for a spin on localhost and it works great.
I also tried it with the browser extension (also easy instructions on how to set it up) and it also works great. The only thing is that if I change a password on the web ui, the browser extension won't pick up the change unless I log out and in again.
As per the installation, I have no further feedback. Everything is nice and smooth with the whole Docker workflow.
@mongrelion that is expected behavior. It will eventually log you out automatically. Usually on your next automated sync.
Currently using a personal organization for my family, will self-hosting be available to me for them or would I need an enterprise license? Want to utilize for my wife, two teenagers, and myself.
@DailenG Any self-hosted organization account will require an enterprise license.
@kspearrin thanks! i'll probably spring for it at some point!
This is awesome stuff, do you have an idea on when it will go live?
@bspradling8 We cant go live until our dependency on sql server 2017 does. It is currently in public preview so I am guessing sometime in the next month or two.