feat(servide): Add siyuan template
This commit is contained in:
parent
723f14e6f6
commit
f6b8a47140
2 changed files with 38 additions and 0 deletions
10
public/svgs/siyuan.svg
Normal file
10
public/svgs/siyuan.svg
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
<!-- Generated by IcoMoon.io -->
|
||||||
|
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024">
|
||||||
|
<title></title>
|
||||||
|
<g id="icomoon-ignore">
|
||||||
|
</g>
|
||||||
|
<path fill="#d23f31" d="M37.052 371.676l269.857-269.857v550.507l-269.857 269.857z"></path>
|
||||||
|
<path fill="#3b3e43" d="M306.909 101.818l205.091 205.091v550.507l-205.091-205.091z"></path>
|
||||||
|
<path fill="#d23f31" d="M512 306.909l205.091-205.091v550.507l-205.091 205.091z"></path>
|
||||||
|
<path fill="#3b3e43" d="M717.091 101.818l269.857 269.857v550.507l-269.857-269.857z"></path>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 554 B |
28
templates/compose/siyuan.yaml
Normal file
28
templates/compose/siyuan.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
||||||
|
# documentation: https://github.com/siyuan-note/siyuan
|
||||||
|
# slogan: A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang.
|
||||||
|
# tags: note-taking,markdown,pkm
|
||||||
|
# logo: svgs/siyuan.svg
|
||||||
|
# port: 6806
|
||||||
|
|
||||||
|
services:
|
||||||
|
siyuan:
|
||||||
|
image: b3log/siyuan
|
||||||
|
volumes:
|
||||||
|
- 'siyuan_workspace:/siyuan/workspace'
|
||||||
|
environment:
|
||||||
|
- SERVICE_URL_SIYUAN_6806
|
||||||
|
- TZ=${TZ:-UTC}
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- 'SIYUAN_ACCESS_AUTH_CODE=${SERVICE_PASSWORD_SIYUAN}'
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
- CMD
|
||||||
|
- wget
|
||||||
|
- '--spider'
|
||||||
|
- '--quiet'
|
||||||
|
- 'http://127.0.0.1:6806/api/system/version'
|
||||||
|
interval: 15s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 5
|
||||||
|
start_period: 40s
|
||||||
Loading…
Reference in a new issue