<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux &#8211; CYFOR&#039;blog</title>
	<atom:link href="https://www.cyfor.cn/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.cyfor.cn</link>
	<description>是个人，还活着，争取再活几年</description>
	<lastBuildDate>Thu, 21 Aug 2025 07:24:18 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>

<image>
	<url>https://www.cyfor.cn/wp-content/uploads/2020/04/cropped-狗粮-2-150x150.png</url>
	<title>Linux &#8211; CYFOR&#039;blog</title>
	<link>https://www.cyfor.cn</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>基于宝塔Docker自建Bitwarden密码管理</title>
		<link>https://www.cyfor.cn/%e5%9f%ba%e4%ba%8e%e5%ae%9d%e5%a1%94docker%e8%87%aa%e5%bb%babitwarden%e5%af%86%e7%a0%81%e7%ae%a1%e7%90%86/</link>
					<comments>https://www.cyfor.cn/%e5%9f%ba%e4%ba%8e%e5%ae%9d%e5%a1%94docker%e8%87%aa%e5%bb%babitwarden%e5%af%86%e7%a0%81%e7%ae%a1%e7%90%86/#respond</comments>
		
		<dc:creator><![CDATA[CYFOR]]></dc:creator>
		<pubDate>Wed, 21 Apr 2021 07:37:08 +0000</pubDate>
				<category><![CDATA[奇怪的技能]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[宝塔]]></category>
		<guid isPermaLink="false">https://www.cyfor.cn/?p=40</guid>

					<description><![CDATA[宝塔安装Docker 宝塔应用列表搜索d&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">宝塔安装Docker</h3>



<p>宝塔应用列表搜索docker安装</p>



<h3 class="wp-block-heading">Docker中安装Bitwarden</h3>



<ul class="wp-block-list"><li>获取源<br>打开镜像管理，获取Bitwarden_rs的官方镜像bitwardenrs/server<br>（Bitwarden_rs是Bitwarden的民间第三方版本）</li><li>创建容器<br>容器端口为80，服务端口随便填一个未使用的端口（不能冲突）；<br>服务器目录填上/www/wwwroot/xxxx.com（可以先创建网站，然后用网站的所在目录），容器目录为/data；<br>以上两个都需要点一下加号，不然不会保存。<br>完成后点击提交<br></li></ul>



<figure class="wp-block-image"><img decoding="async" src="https://www.lizi.tw/wp-content/uploads/2020/03/KQLLl9.png" alt="宝塔面板搭建 Docker bitwardenrs 教程"/></figure>



<h3 class="wp-block-heading">添加网站</h3>



<p>新建一个网站，域名填上（这步可以在创建docker之前），数据库不创建，PHP版本选纯静态。<br>设置网站，选SSL，申请一个免费的SSL，开启强制HTTPS；<br>点击反向代理，添加一个反代，目标URL为http://127.0.0.1:xxxx（端口为刚才创建容器时的端口）。</p>



<h3 class="wp-block-heading">放行端口</h3>



<p>安全设置里放行容器的端口，然后就可以直接访问域名了（要解析过）</p>



<h3 class="wp-block-heading">关闭注册</h3>



<p>另外<br>关闭注册：第一次注册好之后，第二次启动的时候，使用ssh连接到服务器。</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>docker run -d –name 容器名称 \<br>-e SIGNUPS_ALLOWED=false \<br>-v 目录映射:/data/ \<br>-p 端口映射:80 \<br>bitwardenrs/server:latest</p></blockquote>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cyfor.cn/%e5%9f%ba%e4%ba%8e%e5%ae%9d%e5%a1%94docker%e8%87%aa%e5%bb%babitwarden%e5%af%86%e7%a0%81%e7%ae%a1%e7%90%86/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
