Base on debian:bullseye-slim image.
693
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.
version: '3.9'
services:
siyuan:
image: jearton1024/siyuan:latest
container_name: siyuan
restart: unless-stopped
environment:
- REFRESH_CRON_JOB=on
- REFRESH_CRON_EXPR=1-59/15 * * * *
ports:
- "6806:6806"
volumes:
- ~/docker/siyuan/workspace:/siyuan/workspace
- ~/docker/siyuan/logs:/siyuan/logs
command: ["-workspace=/siyuan/workspace", "-lang=zh_CN"]
debian:bullseye-slim image, instead of Alpine.zh_CN.UTF-8, instead of en_US.siyuan/logs.Content type
Image
Digest
sha256:567db5c94…
Size
79.5 MB
Last updated
over 3 years ago
docker pull jearton1024/siyuan