fix: Update Siyuan port mapping to 6806 and add a default for SIYUAN_PORT.

This commit is contained in:
2026-01-18 15:45:15 +01:00
parent 7b096431cf
commit a3592181ec

View File

@@ -4,7 +4,7 @@ services:
container_name: siyuan container_name: siyuan
command: [ "--workspace=/siyuan/workspace", "--accessAuthCode=${SIYUAN_ACCESS_CODE}" ] command: [ "--workspace=/siyuan/workspace", "--accessAuthCode=${SIYUAN_ACCESS_CODE}" ]
ports: ports:
- "${SIYUAN_PORT}:6800" - "${SIYUAN_PORT:-6806}:6806"
volumes: volumes:
- "${SIYUAN_DATA_DIR}:/siyuan/workspace" - "${SIYUAN_DATA_DIR}:/siyuan/workspace"
restart: unless-stopped restart: unless-stopped