feat: Add Docker Compose configuration for Siyuan with an example environment file.
This commit is contained in:
12
siyuan/docker-compose.yaml
Normal file
12
siyuan/docker-compose.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
services:
|
||||
siyuan:
|
||||
image: b3log/siyuan
|
||||
container_name: siyuan
|
||||
command: [ "--workspace=/siyuan/workspace", "--accessAuthCode=${SIYUAN_ACCESS_CODE}" ]
|
||||
ports:
|
||||
- "${SIYUAN_PORT}:6800"
|
||||
volumes:
|
||||
- "${SIYUAN_DATA_DIR}:/siyuan/workspace"
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=${TZ}
|
||||
Reference in New Issue
Block a user