Files
plainleaf/deploy/nas
wushenghua 0ff820bae3
CI / config (push) Canceled after 0s
CI / test-frontend (push) Canceled after 0s
CI / test-rust (push) Canceled after 0s
CI / test-e2e (push) Canceled after 0s
CI / test-e2e-release (push) Canceled after 0s
CI / build (push) Canceled after 0s
CI / release (push) Canceled after 0s
CI / docker (push) Canceled after 0s
CI / docker-website (push) Canceled after 0s
ops: add ZSpace NAS deployment
2026-08-12 12:40:04 +08:00
..
2026-08-12 12:40:04 +08:00
2026-08-12 12:40:04 +08:00

Plainleaf on ZSpace NAS

This deployment builds the customized Plainleaf source on an amd64 ZSpace NAS. It keeps deployment files and Markdown data separate:

  • Deployment: 个人空间/docker/plainleaf
  • Markdown space: 个人空间/笔记管理/Plainleaf

The server listens on NAS port 3000, runs as the NAS account's UID/GID, and has SilverBullet shell execution disabled. Authentication is supplied through a deployment-local .env file that must not be committed.

The intended .env keys are:

PLAINLEAF_GIT_SHA=94d310d71211de57339724a9ad5cb21f214e101a
PLAINLEAF_IMAGE_TAG=94d310d7
PLAINLEAF_UID=1001
PLAINLEAF_GID=1001
PLAINLEAF_PORT=3000
PLAINLEAF_SPACE_PATH=/tmp/zfsv3/sata11/13616066635/data/笔记管理/Plainleaf
PLAINLEAF_USER=your-user:your-password

Do not commit the real .env file. Do not expose the service publicly until a separate HTTPS reverse-proxy configuration has been verified.