Obsidian-ShareNote-Server
Docker 应用程序 from Mackid1993's Repository
概述
Instantly share a note, with the full theme and content exactly like you see it in Obsidian. Data is shared encrypted by default, and only you and the person you send it to have the key.
More info: https://share.note.sx and https://github.com/alangrainger/share-note
This is the selfhosted backend for the Obsidian Plugin. I did not create this, I am only creating a template for Unraid users.
This is well paired with a Cloudflare tunnel.
One could also set up Cloudflare Access: https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/security/secure-with-access/ to "https://your-share-domain.com/v1/account" to prevent someone unauthorized from creating an account.
运行时参数
- 网络
bridge- 外壳
sh- 特权
- false
- 额外参数
--restart unless-stopped
模板配置
BASE_WEB_URLVariable
The base public URL for your server.
NODE_ENVVariable
- 默认值
- production
- 价值
- production
HASH_SALTVariable
REQUIRED: Any random string.
MAXIMUM_UPLOAD_SIZE_MBVariable
The maximum allowed size for user uploads in megabytes (MB).
CLOUDFLARE_TURNSTILE_KEYVariable
OPTIONAL. If you want to use Turnstile to show a captcha when someone creates an account.
CLOUDFLARE_TURNSTILE_SECRETVariable
OPTIONAL. If you want to use Turnstile to show a captcha when someone creates an account.
CLOUDFLARE_ZONE_IDVariable
OPTIONAL. If you want to use Cloudflare proxy in front of your server.
CLOUDFLARE_API_KEYVariable
OPTIONAL. If you want to use Cloudflare proxy in front of your server.
FOLDER_PREFIXVariable
OPTIONAL. Set this to 1 or 2 if you want user files to be split into subfolders based on the first N characters of the filename.
PUIDVariable
- 默认值
- 99
- 价值
- 99
PGIDVariable
- 默认值
- 100
- 价值
- 100
/notesx/dbPathrw
Database
- 默认值
- /mnt/user/appdata/notesx/db
- 价值
- /mnt/user/appdata/notesx/db
/notesx/userfilesPathrw
User Files
- 默认值
- /mnt/user/appdata/notesx/userfiles
- 价值
- /mnt/user/appdata/notesx/userfiles
PortPorttcp
- 目标
- 3000
- 默认值
- 3000
- 价值
- 3000
详细信息
在Unraid 上运行 Obsidian-ShareNote-Server 。
Obsidian-ShareNote-Server 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。