mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01: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
|
|
@ -81,6 +81,11 @@ func Boot() {
|
|||
Container = ContainerStd
|
||||
if isRunningInDockerContainer() {
|
||||
Container = ContainerDocker
|
||||
if "" == AccessAuthCode {
|
||||
// The access authorization code command line parameter must be set when deploying via Docker https://github.com/siyuan-note/siyuan/issues/9328
|
||||
fmt.Printf("The access authorization code command line parameter (--accessAuthCode) must be set when deploying via Docker.")
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
if ContainerStd != Container {
|
||||
ServerPort = FixedPort
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue