chore: add siyuan

This commit is contained in:
LRVT 2025-02-26 00:25:18 +01:00
parent 21b2dee9a9
commit 7fac1cd2e8
4 changed files with 41 additions and 0 deletions

View File

@ -391,6 +391,7 @@ A [wiki](https://en.wikipedia.org/wiki/Wiki) is a publication collaboratively ed
- [HedgeDoc](examples/hedgedoc) - HedgeDoc lets you create real-time collaborative markdown notes. - [HedgeDoc](examples/hedgedoc) - HedgeDoc lets you create real-time collaborative markdown notes.
- [Docmost](examples/docmost) - Docmost is an open source collaborative documentation and wiki software. It is an open-source alternative to the likes of Confluence and Notion. - [Docmost](examples/docmost) - Docmost is an open source collaborative documentation and wiki software. It is an open-source alternative to the likes of Confluence and Notion.
- [Atlassian Confluence](examples/atlassian-jira-confluence) - Confluence is a wiki solution built for business teams. - [Atlassian Confluence](examples/atlassian-jira-confluence) - Confluence is a wiki solution built for business teams.
- [Siyuan](examples/siyuan) - A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang.
### Money, Budgeting & Management ### Money, Budgeting & Management

7
examples/siyuan/.env Normal file
View File

@ -0,0 +1,7 @@
TZ=Europe/Berlin
PUID=1000
PGID=1000
# please create a random secret
# openssl rand -base64 12
AuthCode=ExampleSecretKey

View File

@ -0,0 +1,3 @@
# References
- https://github.com/siyuan-note/siyuan

View File

@ -0,0 +1,30 @@
services:
siyuan:
image: b3log/siyuan:latest
container_name: siyuan
command: ['--workspace=/siyuan/workspace/', '--accessAuthCode=${AuthCode:-S3cr3t}']
ports:
- 6806:6806/tcp # web ui
expose:
- 6806
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/siyuan/workspace:/siyuan/workspace
restart: unless-stopped
environment:
- TZ=${PUID:-Europe/Berlin}
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
#networks:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - traefik.http.routers.siyuan.rule=Host(`wiki.example.com`)
# - traefik.http.services.siyuan.loadbalancer.server.port=6806
# # Optional part for traefik middlewares
# - traefik.http.routers.siyuan.middlewares=local-ipwhitelist@file
#networks:
# proxy:
# external: true