跳转至

技术

Docker Compose部署filebrowser

Quote

在linuxserver服务器上安装

环境:docker、docker- compose

需要了解docker基本知识,不懂可以翻翻以前的博客或者搜下教程学习

filebrowser官网上给的是docker命令执行的,但用compose习惯了,所以转换了一下格式,但是这里有个坑,官网也提示了

By default, we already have a configuration file with some defaults so you can just mount the root and the database. Although you can overwrite by mounting a directory with a new config file. If you don't already have a database file, make sure to create a new empty file under the path you specified. Otherwise, Docker will create an empty folder instead of an empty file, resulting in an error when mounting the database into the container.

Tip

翻译过来就是需要提前创建所需的文件和文件夹,否则,Docker会创建一个空的文件夹而不是空的文件,导致在将数据库挂载到容器中时出现错误!这点一定要注意啊!!!

docker 生成自己的镜像

看过前面的文章知道,大佬的库仓库也锁了,不能pull,只能换取仓库地址才行,为了一劳永逸,索性换了自己的库,只谈技术,不谈其他...

girde simple修改添加支持侧边栏目录

修改主题文件支持侧边栏目录

simple主题整体还行,但文章无侧边栏目录,一般写的技术性文章很长,就需要侧边栏目录和这个功能了,在网上搜了一下资料,对于前端小学生的我费了好长时间才搞定,记录一下过程。