Docker deploy third party bitwarden password manager

April 2, 2021 366 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