feat: Add Docker Compose configuration for Siyuan with an example environment file.

This commit is contained in:
2026-01-18 15:23:21 +01:00
parent 727ea01a7c
commit 7b096431cf
2 changed files with 18 additions and 0 deletions

View 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}