mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 The access authorization code command line parameter must be set when deploying via Docker https://github.com/siyuan-note/siyuan/issues/9328
This commit is contained in:
parent
d2356754dd
commit
279e17e8b5
3 changed files with 10 additions and 3 deletions
|
@ -133,7 +133,8 @@
|
|||
|
||||
构建 Docker 镜像时设置了入口:`ENTRYPOINT [ "/opt/siyuan/kernel" ]`,使用 `docker run b3log/siyuan` 并带参即可启动:
|
||||
|
||||
* `--workspace` 指定工作空间文件夹路径,在宿主机上通过 `-v` 挂载到容器中
|
||||
* `--workspace`:指定工作空间文件夹路径,在宿主机上通过 `-v` 挂载到容器中
|
||||
* `--accessAuthCode`:指定访问授权码
|
||||
|
||||
更多的参数可参考 `--help`。下面是一条启动命令示例:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue