📝 Update README.md (#15120)

added instruction for disabling access authorization code
This commit is contained in:
Adam J Campbell 2025-06-23 20:51:41 +12:00 committed by GitHub
parent a6ef9d24b9
commit 401f42e35d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: