ラリー

イベントや会議のスケジュール管理や共同作業を簡単にするオープンソースツール。

Accessing Rallly

  • ブラウザを開いて、次のURLにアクセスしてください: https://<SERVER-IP>/
  • SSL警告を受け入れる(自己署名証明書)。

Email (SMTP) Configuration

このサーバーでSMTP接続が許可されていることを確認してください(SMTPアクセスの有効化を依頼してください)。

SMTP settings are stored in: /root/rallly/config.env

To update SMTP or email settings:

  1. Edit the file: nano /root/rallly/config.env
  2. 変更を適用: cd /root/rallly && docker compose up -d

Creating the Admin Account

  1. Sign up using the admin email you provided during deployment.
  2. Once logged in, open: https://<SERVER-IP>/control-panel
  3. If your email matches INITIAL_ADMIN_EMAIL, you will see a button labeled: Make me an admin
  4. Click it to become the administrator.
  5. You can manage settings and prevent new users from registering an account.

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

  • Main application directory: /root/rallly
  • Application environment configuration: /root/rallly/config.env
  • Docker Compose 設定: /root/rallly/docker-compose.yml
  • PostgreSQLの永続データ: /var/lib/docker/volumes/rallly_db-data
  • Nginxの設定: /etc/nginx/sites-available/rallly.conf
  • SSL証明書: /etc/nginx/ssl/

サービスの管理

コンテナの状態を確認する:

docker compose -f /root/rallly/docker-compose.yml ps

Restart Rallly:

docker compose -f /root/rallly/docker-compose.yml restart

ログを表示する:

docker compose -f /root/rallly/docker-compose.yml logs -f

ドメインでのSSLの有効化

1. ドメインをサーバーのIPアドレスに設定してください。

2. 編集する /root/rallly/config.env ドメイン名を設定するファイル: NEXT_PUBLIC_BASE_URL=https://your.domain.com

3. サービスを再構築する:

cd /root/rallly/
docker compose up -d

4. Nginx設定を編集し、両方を置換する server_name <IP>; あなたのドメインで (<your-domain>HTTP(ポート80)およびHTTPS(ポート443)ブロックの両方に対して:

vim /etc/nginx/sites-available/rallly.conf

5. Certbot のインストール:

apt install -y certbot python3-certbot-nginx

6. 有効なLet's Encrypt証明書を生成するには、次のコマンドを実行します:

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

7. Nginx設定ファイル内のSSLパスを置換(TLSセクション):

vim /etc/nginx/sites-available/rallly.conf
# 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;

8. 変更を適用するために Nginx を再起動します:

systemctl restart nginx

9. ブラウザを開き、次のURLにアクセスしてください: https://yourdomain.com

申請内容