Skip to main content
50% off 全プラン対象、期間限定。月額 $2.48/mo
Poznote

Poznote

Poznote はセルフホスト型のノートアプリです。素早いメモ入力・タグ・全文検索を備え、個人の知識管理に最適です。オープンソースで、シンプルなUIとDockerベースのデプロイに対応。ブラウザからJoplinスタイルのノートを使いたいユーザーに向いています。

バージョン

最新

オペレーティングシステム

Ubuntu Server 24.04 LTS

最小 RAM

1 GB

IPの種類

IPV4,IPV6

ウェブアクセス

  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/apache2/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ドルから。