<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>filebrowser on Two Tigers Engineering</title>
    <link>https://blog.twotigers.xyz/series/filebrowser/</link>
    <description>Recent content in filebrowser on Two Tigers Engineering</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 26 May 2024 23:39:08 +0800</lastBuildDate><atom:link href="https://blog.twotigers.xyz/series/filebrowser/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>使用 docker 搭建 filebrowser</title>
      <link>https://blog.twotigers.xyz/posts/filebrowser/</link>
      <pubDate>Sun, 26 May 2024 23:39:08 +0800</pubDate>
      
      <guid>https://blog.twotigers.xyz/posts/filebrowser/</guid>
      <description>filebrowser 是一个文件管理器，可以通过 web 界面管理文件，支持文件上传、下载、预览等功能。
详情可以参考github：github
使用 docker 搭建 filebrowser 先初始化配置文件和数据库文件 这个在 https://filebrowser.org/installation 上没有说明, 如果直接启动将直接失败 mkdir -p /root/filebrowser touch /root/filebrowser/filebrowser.db touch /root/filebrowser/config.json echo &amp;#39;{ &amp;#34;port&amp;#34;: 80, &amp;#34;baseURL&amp;#34;: &amp;#34;&amp;#34;, &amp;#34;address&amp;#34;: &amp;#34;&amp;#34;, &amp;#34;log&amp;#34;: &amp;#34;stdout&amp;#34;, &amp;#34;database&amp;#34;: &amp;#34;/database.db&amp;#34;, &amp;#34;root&amp;#34;: &amp;#34;/srv&amp;#34; }&amp;#39; &amp;gt; /root/filebrowser/config.json 使用 docker 启动 filebrowser docker run \ -d --name=filebrowser \ -v /root/filebrowser/file:/srv \ -v /root/filebrowser/filebrowser.db:/database.db \ -v /root/filebrowser/config.json:/.filebrowser.json \ -u $(id -u):$(id -g) \ -p 8081:80 \ --restart=always \ filebrowser/filebrowser 查看日志, 看到如下日志就证明已经启动成功了 2024/05/26 15:38:15 Warning: filebrowser.</description>
    </item>
    
  </channel>
</rss>
