Sign inSign up

jearton1024/siyuan

By jearton1024

•Updated over 3 years ago

Base on debian:bullseye-slim image.

Image
1

693

jearton1024/siyuan repository overview

Github stars

⁠Overview

SiYuan docker image based on debian:bullseye-slim, run with root user by default.

⁠Quick Start

docker run -p 6806:6806 --rm jearton1024/siyuan -workspace=/siyuan/workspace -lang=zh_CN

Open http://localhost:6806⁠ in your browser.

⁠Environment

KeyValueExample
REFRESH_CRON_JOBon/off, default is offon
REFRESH_CRON_EXPRa crontab expression starting with minutes1-59/15 * * * *

⁠Add cronjob to refresh file tree

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"]

⁠Chaned features

  1. Base on debian:bullseye-slim image, instead of Alpine.
  2. Set default locale to zh_CN.UTF-8, instead of en_US.
  3. 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.

Tag summary

Content type

Image

Digest

sha256:567db5c94…

Size

79.5 MB

Last updated

over 3 years ago

docker pull jearton1024/siyuan