Skip to content

Commit 7fac1cd

Browse files
committed
chore: add siyuan
1 parent 21b2dee commit 7fac1cd

File tree

4 files changed

+41
-0
lines changed

4 files changed

+41
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ A [wiki](https://en.wikipedia.org/wiki/Wiki) is a publication collaboratively ed
391391
- [HedgeDoc](examples/hedgedoc) - HedgeDoc lets you create real-time collaborative markdown notes.
392392
- [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.
393393
- [Atlassian Confluence](examples/atlassian-jira-confluence) - Confluence is a wiki solution built for business teams.
394+
- [Siyuan](examples/siyuan) - A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang.
394395

395396
### Money, Budgeting & Management
396397

examples/siyuan/.env

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
TZ=Europe/Berlin
2+
PUID=1000
3+
PGID=1000
4+
5+
# please create a random secret
6+
# openssl rand -base64 12
7+
AuthCode=ExampleSecretKey

examples/siyuan/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# References
2+
3+
- https://github.com/siyuan-note/siyuan

examples/siyuan/docker-compose.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
services:
2+
3+
siyuan:
4+
image: b3log/siyuan:latest
5+
container_name: siyuan
6+
command: ['--workspace=/siyuan/workspace/', '--accessAuthCode=${AuthCode:-S3cr3t}']
7+
ports:
8+
- 6806:6806/tcp # web ui
9+
expose:
10+
- 6806
11+
volumes:
12+
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/siyuan/workspace:/siyuan/workspace
13+
restart: unless-stopped
14+
environment:
15+
- TZ=${PUID:-Europe/Berlin}
16+
- PUID=${PUID:-1000}
17+
- PGID=${PGID:-1000}
18+
#networks:
19+
# - proxy
20+
#labels:
21+
# - traefik.enable=true
22+
# - traefik.docker.network=proxy
23+
# - traefik.http.routers.siyuan.rule=Host(`wiki.example.com`)
24+
# - traefik.http.services.siyuan.loadbalancer.server.port=6806
25+
# # Optional part for traefik middlewares
26+
# - traefik.http.routers.siyuan.middlewares=local-ipwhitelist@file
27+
28+
#networks:
29+
# proxy:
30+
# external: true

0 commit comments

Comments
 (0)