Activepiecesインスタンスへのアクセス
- HTTPS(推奨):
https://<Server_IP> - Nginxをバイパスする直接内部ポート:
http://<Server_IP>:8080 - 自己署名証明書に関する警告が表示された場合は、そのまま受け入れて続行してください。
初回ログインと管理者作成
- 訪問
https://IP. - アカウントを作成をクリックしてください。
- 最初に作成されたユーザーは自動的に管理者となります。
重要なファイルとディレクトリ
- インストールディレクトリ:
/root/activepieces - インストーラーによって生成される環境変数:
/root/activepieces/.env - Docker Compose 設定:
/root/activepieces/docker-compose.yml - ローカルSSL証明書と秘密鍵:
/etc/nginx/ssl/fullchain.crt&/etc/nginx/ssl/privkey.key - Nginx リバースプロキシ設定:
/etc/nginx/sites-available/activepieces.conf - Nginx アクティベーションシンボリックリンク:
/etc/nginx/sites-enabled/activepieces.conf
アクティブピースのアップグレード
ActivepiecesはDocker Composeを通じて実行されるため、アップグレードは簡単です。
インストールディレクトリに移動します:
cd /root/activepieces
公式アップデータの実行:
sh tools/update.sh
ドメインでのSSLの有効化
1. ドメインをサーバーのIPアドレスに設定してください。
2. Nginx設定を編集し、両方を置換する server_name <IP>; あなたのドメインで (<your-domain>HTTP(ポート80)およびHTTPS(ポート443)ブロックの両方に対して:
vim /etc/nginx/sites-available/activepieces.conf
3. Certbot のインストール:
apt install -y certbot python3-certbot-nginx
4. 有効なLets Encrypt証明書を生成するには、次のコマンドを実行します:
certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. Nginx設定ファイル内のSSLパスを置換する:
vim /etc/apache2/sites-available/activepieces.conf
# Before:
# ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/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. ブラウザを開き、次のURLにアクセスしてください: https://yourdomain.com