メインコンテンツへスキップ
50% off 全プラン対象、期間限定。月額 $2.48/mo
Portabase

Portabase

Portabase はデータベースインスタンスのバックアップと復元をシンプルにします。中央ダッシュボードと軽量エージェントで PostgreSQL・MySQL/MariaDB・MongoDB・SQLite・Redis などを暗号化して任意のストレージにバックアップ。Apache-2.0 ライセンス、GitHub スター 1,100 以上。

概要

1.1k

GitHubスター

188

アクティブインストール

ライセンス Apache-2.0 バージョン Latest OS Ubuntu Server 24.04 LTS Min RAM 2 GB IP IPV4

アクティブインストール数はサンプルデータ(プレビュー)です。正式リリース前に実際のデータに切り替わります。

Portabase ダッシュボードにアクセス

  • ブラウザで開く: http://<SERVER_IP>
  • サインアップしてアカウントを作成します。
  • 最初に作成されたアカウントが管理者になります。

重要なファイルとディレクトリ

  • インストールパス: /opt/portabase-dashboard
  • Compose ファイル: /opt/portabase-dashboard/docker-compose.yml
  • 環境ファイル: /opt/portabase-dashboard/.env
  • Nginx 設定: /etc/nginx/sites-available/portabase
  • PostgreSQL ボリューム: postgres-data
  • アプリケーションボリューム: portabase-data

スタックの管理

# Go to installation directory (where docker-compose.yml is located)
cd /opt/portabase-dashboard

# Show running containers and their status
docker compose ps

# View live logs (useful for debugging issues)
docker compose logs -f

# Restart all services without recreating containers
docker compose restart

# Stop and remove containers (data volumes remain unless explicitly removed)
docker compose down

# Start services in detached mode (background)
docker compose up -d

ドメインでSSLを有効化する

1. ドメインをサーバーIPに向ける。

2. ファイルを編集 /opt/portabase-dashboard/.env ファイルでドメイン名を設定します: PROJECT_URL=https://yourdomain.com

# Before
PROJECT_URL=http://<SERVER_IP>
# After
PROJECT_URL=https://yourdomain.com

3. スタックを再起動:

cd /opt/portabase-dashboard
docker compose down
docker compose up -d

4. Nginx の設定を編集して置き換える server_name <SERVER_IP>; あなたのドメイン (server_name yourdomain.com;):

vim /etc/nginx/sites-available/portabase

5. Certbotをインストールします:

apt install -y certbot python3-certbot-nginx

6. SSL 証明書を生成:

certbot --nginx -d yourdomain.com

7. Nginx を再起動:

systemctl restart nginx

8. ブラウザを開き、以下の URL にアクセスする: https://yourdomain.com

セルフホストの他の記事

関連アプリ。

Deploy Portabase now. 月額2.48ドルから。