SiYuan docker image based on debian:bullseye-slim, run with root user by default.
docker run -p 6806:6806 --rm jearton1024/siyuan -workspace=/siyuan/workspace -lang=zh_CN
Open http://localhost:6806 in your browser.
Key | Value | Example |
---|---|---|
REFRESH_CRON_JOB | on/off, default is off | on |
REFRESH_CRON_EXPR | a crontab expression starting with minutes | 1-59/15 * * * * |
Not supported prior to v2.0.15-bullseye-slim. Example: docker-compose.yml
- Base on
debian:bullseye-slim
image, instead ofAlpine
. - Set default locale to
zh_CN.UTF-8
, instead ofen_US
. - Since v2.0.15-bullseye-slim, you can optionally configure a cron job to refresh the file tree. And the log directory is
siyuan/logs
.
Build the image and push to the remote.
docker login
./build.sh