[{"data":1,"prerenderedAt":106},["ShallowReactive",2],{"content:\u002F33":3,"surround:\u002F33":100},{"id":4,"title":5,"body":6,"categories":74,"comment":76,"date":77,"description":78,"donation":76,"draft":79,"extension":80,"image":81,"meta":82,"navigation":76,"path":86,"permalink":86,"postfooter":76,"published":87,"readingTime":88,"recommend":87,"references":87,"seo":93,"sitemap":94,"stem":95,"tags":96,"type":98,"updated":87,"__hash__":99},"content\u002Fposts\u002F宝塔面板部署思源笔记.md","宝塔面板部署思源笔记",{"type":7,"value":8,"toc":68},"minimark",[9,13,17,20,30,33,44,47,53],[10,11,12],"h2",{"id":12},"前言",[14,15,16],"p",{},"由于新版本思源笔记修改了一些启动命令，导致宝塔Docker商店的思源笔记无法正常安装。而官方给出的命令也是报错。所以写下这篇文章，以帮助后来者。",[10,18,19],{"id":19},"教程",[21,22,23,27],"ol",{},[24,25,26],"li",{},"安装Docker",[24,28,29],{},"打开容器编排→添加容器编排→填写compose内容和.env内容→点击确定",[14,31,32],{},"compose.yml",[34,35,40],"pre",{"className":36,"code":38,"language":39},[37],"language-text","version: \"3.9\"\nservices:\n  siyuan:\n    image: b3log\u002Fsiyuan:latest\n    container_name: siyuan\n    command:\n      - serve\n      - --workspace=\u002Fsiyuan\u002Fworkspace\u002F\n    environment:\n      TZ: Asia\u002FShanghai\n      PUID: ${PUID:-1000}\n      PGID: ${PGID:-1000}\n      SIYUAN_ACCESS_AUTH_CODE: ${SIYUAN_ACCESS_AUTH_CODE}\n    volumes:\n      - \u002Fsiyuan\u002Fworkspace:\u002Fsiyuan\u002Fworkspace\n    ports:\n      - \"6806:6806\"\n    restart: unless-stopped\n\n","text",[41,42,38],"code",{"__ignoreMap":43},"",[14,45,46],{},".env",[34,48,51],{"className":49,"code":50,"language":39},[37],"SIYUAN_ACCESS_AUTH_CODE=your_strong_auth_code\nPUID=1000\nPGID=1000\n",[41,52,50],{"__ignoreMap":43},[54,55,58],"pic",{"caption":56,"src":57},"容器编排","https:\u002F\u002Fimg-upyun.chario.cn\u002Fi\u002F2026\u002F10\u002F17\u002F467694.png",[14,59,60,64,65],{},[61,62,63],"span",{},"scode type=\"lblue\"","若你想设置域名，可在容器页面进行反向代理，并添加SSL",[61,66,67],{},"\u002Fscode",{"title":43,"searchDepth":69,"depth":69,"links":70},4,[71,73],{"id":12,"depth":72,"text":12},2,{"id":19,"depth":72,"text":19},[75],"技术",true,"2026-09-23 13:14:00","思源笔记新版本改动启动命令，致使宝塔Docker商店内思源笔记安装失败，官方命令同样报错。本文提供解决教程：先安装Docker，在容器编排处添加编排，填入compose.yml与.env配置内容，设置镜像、工作目录、时区、端口、认证码等参数，确认后即可部署。",false,"md","https:\u002F\u002Fimg-upyun.chario.cn\u002Fi\u002F2026\u002F10\u002F17\u002F721443.png",{"aside":83,"slots":85},[84],"toc",{},"\u002F33",null,{"text":89,"minutes":90,"time":91,"words":92},"1 min read",0.77,46200,154,{"title":5,"description":78},{"loc":86},"posts\u002F宝塔面板部署思源笔记",[97],"程序部署","tech","RlgjwejvaiKBI6Dh2Px54dBRfHcIudnL5XtbjVoFu4Q",[101,87],{"title":102,"path":103,"stem":104,"date":105,"type":98,"children":-1},"Ace Panel面板使用感受","\u002FAce-Panel","posts\u002FAce Panel面板使用感受","2026-09-14 13:14:00",1792244425310]