Docker deploy third party bitwarden password manager

April 2, 2021 548 point heat 0 liked it 0 comments
1. Get docker image   bitwardenrs/server
2. Create container
Map port 80 and map container directory / data to a directory of the server to facilitate data backup
PS: add admin to environment variable_ TOKEN=some_ random_ token_ as_ per_ above_ Explanation to enable the administration page
3. Create a new site and configure the reverse proxy to the port just mapped
Reference example:
 location / { proxy_pass ; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header REMOTE-HOST $remote_addr; add_header X-Cache $upstream_cache_status; #Set Nginx Cache add_header Cache-Control no-cache; expires 12h; }
4. Access mode
  It can be accessed directly from the web, or by using browser plug-ins, or by the client
  The latest client and plug-in, recommended to the official website for download
5. End
Data is priceless!
Please pay attention to backup for daily use!


If life is just like the first sight, what is the sad autumn wind painting fan

Article review