-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing Bitwarden Server with Docker #153
Merged
Merged
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f5f07d9
Create 01-en.md
artygreis a814aa9
Update 01-en.md
artygreis a844e09
Update 01-en.md
artygreis f936dc7
Update 01-en.md
artygreis 5448b10
Update 01-en.md
artygreis fb811c3
Update 01-en.md
artygreis d57e4ea
Update 01-en.md
artygreis 592f297
Update 01-en.md
artygreis 5be9d03
Update 01-en.md
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
74 changes: 74 additions & 0 deletions
74
community-tutorials/installing-bitwarden-server-with-docker/01-en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
--- | ||
title: Installing Bitwarden Server with Docker | ||
description: Learn how to install Bitwarden server with docker and enable admin page | ||
updated_at: 2023-11-19 | ||
slug: bitwardeb-install | ||
author_name: Artem Greis | ||
author_url: https://github.com/artygreis | ||
author_image: | ||
author_bio: | ||
tags: [bitwarden, linux] | ||
netcup_product_url: https://www.netcup.eu/bestellen/produkt.php?produkt=2902 | ||
language: en | ||
available_languages: en | ||
--- | ||
|
||
# Introduction | ||
This tutorial explains how to install the Bitwarden server on a virtual server with Docker and how to enable admin page. Bitwarden is used to securely store keys, passwords and confidential information. Storing data on your own server avoids data loss. | ||
|
||
# Requirements | ||
* Docker | ||
* Ubuntu 22.04 | ||
|
||
# Step 1 - Check your Docker | ||
```sh | ||
docker --version | ||
``` | ||
If the version is shown, then you can continue further. | ||
|
||
# Step 2 - Pull the docker image | ||
```sh | ||
docker pull vaultwarden/server:latest | ||
``` | ||
|
||
# Step 3 - Get token for admin page | ||
```sh | ||
openssl rand -base64 48 | ||
``` | ||
Copy and save this token. | ||
|
||
# Step 4 - Mount a volume | ||
```sh | ||
docker run -d --name vaultwarden -e ADMIN_TOKEN={token_get_on_step_3} -v /vw-data/:/data/ -p 80:80 vaultwarden/server:latest | ||
``` | ||
- '**vw-data**' - folder for save data on disk | ||
- '**80**' (on the left) - local port, you can change | ||
# Conclusion | ||
Now you can go to the address localhost:port in your browser. | ||
|
||
For admin page: localhost:port/admin and then use token from step 3. | ||
|
||
That's all. | ||
|
||
# Licence | ||
|
||
[MIT](https://github.com/netcup-community/community-tutorials/blob/main/LICENSE) | ||
|
||
Copyright (c) 2021 netcup | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicence, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
|
||
# Contributor's Certificate of Origin | ||
By making a contribution to this project, I certify that: | ||
|
||
1) The contribution was created in whole or in part by me and I have the right to submit it under the licence indicated in the file; or | ||
|
||
2) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate licence and I have the right under that licence to submit that work with modifications, whether created in whole or in part by me, under the same licence (unless I am permitted to submit under a different licence), as indicated in the file; or | ||
|
||
3) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. | ||
|
||
4) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the licence(s) involved. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I described in #155 I see these kinds of Tutorials very sceptical, as these kinds of tutorial are very short and also are just a rewritten version of the original. (See attached original install tutorial from @dani-garcia/vaultwarden)
Also this tutorial uses the slug "bitwardeb install" which does not suit bitwarden.
Also the Tutorial is about installing vaultwarden and not bitwarden which is a bitwarden-compatible server which is NOT officially supported by Bitwarden Inc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, it is my mistake that I did not specify the product name precisely.
At the same time, with my article I wanted to point out how not only to install a vaultwarden server, but how to configure it with the admin panel.
docker run -d --name vaultwarden -e **ADMIN_TOKEN={token_get_on_step_3}** -v /vw-data/:/data/ -p 80:80 vaultwarden/server:latest
The attachment does not say anything about this.
If this is relevant, I could edit my article and add more to it.