jearton / docker-siyuan

SiYuan Dockerfile based on debian:bullseye-slim

Home Page:https://github.com/siyuan-note/siyuan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-siyuan

Docker stars Docker pulls

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

Key Value Example
REFRESH_CRON_JOB on/off, default is off on
REFRESH_CRON_EXPR a crontab expression starting with minutes 1-59/15 * * * *

Add cronjob to refresh file tree

Not supported prior to v2.0.15-bullseye-slim. Example: docker-compose.yml

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.

Development

Build the image and push to the remote.

docker login
./build.sh

About

SiYuan Dockerfile based on debian:bullseye-slim

https://github.com/siyuan-note/siyuan

License:MIT License


Languages

Language:Dockerfile 58.7%Language:Shell 41.3%