mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
📝 Update README.md (#15120)
added instruction for disabling access authorization code
This commit is contained in:
parent
a6ef9d24b9
commit
401f42e35d
1 changed files with 1 additions and 0 deletions
|
|
@ -210,6 +210,7 @@ docker run -d \
|
|||
* In alternative, it's possible to set the path via the `SIYUAN_WORKSPACE_PATH` env variable. The commandline will always have the priority, if both are set.
|
||||
* `accessAuthCode`: Access authorization code (please **be sure to modify**, otherwise anyone can access your data)
|
||||
* In alternative, it's possible to set the auth code via the `SIYUAN_ACCESS_AUTH_CODE` env variable. The commandline will always have the priority, if both are set.
|
||||
* To disable the Access authorization code set the env `SIYUAN_ACCESS_AUTH_CODE_BYPASS=true`.
|
||||
|
||||
To simplify things, it is recommended to configure the workspace folder path to be consistent on the host and container, such as having both `workspace_dir_host` and `workspace_dir_container` configured as `/siyuan/workspace`. The corresponding startup command would be:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue