跳至主要内容
五折优惠 全部方案,限时优惠。起价 $2.48/mo
Poznote

Poznote

Poznote 是一个开源、自托管的笔记与文档平台,可在浏览器中运行。它将富文本编辑器与快速全文搜索、标签、文件附件、Markdown 和 REST API 相结合,并提供多用户工作区、深色模式和 Git 同步。采用 MIT 许可证,通过 Docker 部署。

快速概览

692

GitHub star 数

227

页面浏览量

272

活跃安装数

许可证 MIT 版本 Latest OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4,IPV6

活跃安装数为示例数据(预览版);正式版本将接入真实数据。

  • Rich-text editor with Markdown
  • Fast full-text search
  • Tags, attachments & workspaces
  • REST API and MCP server
  • Multi-user, dark mode, Git sync

网页访问

  1. 在浏览器中访问 Poznote: https://<SERVER-IP>
  2. 接受 SSL 警告(自签名证书)。
  3. Poznote 凭据安全存储于: /root/poznote/.env

重要路径

  • 安装目录: /root/poznote
  • 持久化数据 /root/poznote/data
  • 环境文件: /root/poznote/.env
  • docker-compose 文件: /root/poznote/docker-compose.yml
  • Nginx 配置: /etc/nginx/sites-available/poznote
  • SSL 证书: /etc/nginx/ssl/

管理服务

Docker:

cd /root/poznote
docker compose ps
docker compose logs -f
docker compose restart

Nginx:

systemctl status nginx
systemctl restart nginx

为域名启用 SSL

1. 将域名解析到服务器 IP。

2. 编辑 Nginx 配置,把两处 server_name <IP>; 替换为你的域名(<your-domain>)在 HTTP(端口 80)和 HTTPS(端口 443)两个块中都替换:

vim /etc/nginx/sites-available/poznote

3. 安装 Certbot:

apt install -y certbot python3-certbot-nginx

4. 运行以下命令以生成有效的 Let's Encrypt 证书:

certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com

5. 替换 Nginx 配置中的 SSL 路径:

vim /etc/nginx/sites-available/poznote
# Before:
    # ssl_certificate /etc/nginx/ssl/fullchain.pem;
    # ssl_certificate_key /etc/nginx/ssl/privkey.pem;
# After:
    # ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
    # ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;

6. 重启 Nginx 以应用更改:

systemctl restart nginx

7. 打开浏览器,访问: https://yourdomain.com

更多自托管内容

相关应用。

立即部署 Poznote。 起价 $2.48/月。