This commit is contained in:
Daniel 2023-11-18 10:48:57 +08:00
parent f001821a90
commit 30ef9d9ca5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 22 additions and 2 deletions

View file

@ -149,13 +149,14 @@ To simplify, it is recommended to configure the workspace folder path to be cons
docker run -d -v /siyuan/workspace:/siyuan/workspace -p 6806:6806 -u 1000:1000 b3log/siyuan --workspace=/siyuan/workspace/ --accessAuthCode=xxx
```
Alternatively, see below for an example docker-compose file:
Alternatively, see below for an example Docker Compose file:
```
version: "3.9"
services:
main:
image: b3log/siyuan
command: ['--workspace=/siyuan/workspace/','--accessAuthCode=${AuthCode}']
command: ['--workspace=/siyuan/workspace/', '--accessAuthCode=${AuthCode}']
user: '1000:1000'
ports:
- 6806:6806