不知道从哪抄的 docker-compose 文件,在 command 后面增加了--accessAuthCode=xxxx 还是没用,加引号也没用
command: /opt/siyuan/kernel --workspace=/home/siyuan/SiYuan --accessAuthCode=xxxx
command: '/opt/siyuan/kernel --workspace=/home/siyuan/SiYuan --accessAuthCode=xxxx'
还有直接进去配置文件 json 里的"accessAuthCode": "xxxx",这行删了都没有用
后来是在 entrypoint 直接改省的直接终止掉了
version: '3' services: siyuan: image: b3log/siyuan:latest container_name: siyuan restart: unless-stopped environment: - PUID=1000 - PGID=1000 - TZ=Asia/Shanghai volumes: - /xxxxxx/siyuan:/home/siyuan/SiYuan # 这里加参数没用command: '/opt/siyuan/kernel --workspace=/home/siyuan/SiYuan --accessAuthCode=xxxxxxxx' entrypoint: - /opt/siyuan/kernel - --workspace=/home/siyuan/SiYuan - --accessAuthCode=xxxxxx
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于