Tập hợp

Một công cụ mã nguồn mở giúp đơn giản hóa việc lên lịch và cộng tác cho các sự kiện và cuộc họp.

Accessing Rallly

  • Mở trình duyệt của bạn và truy cập vào: https://<SERVER-IP>/
  • Chấp nhận cảnh báo SSL (chứng chỉ tự ký).

Email (SMTP) Configuration

Hãy đảm bảo rằng máy chủ này cho phép kết nối SMTP (yêu cầu bật quyền truy cập 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. Áp dụng các thay đổi: 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.

Các tập tin và thư mục quan trọng

  • Main application directory: /root/rallly
  • Application environment configuration: /root/rallly/config.env
  • Cấu hình Docker Compose: /root/rallly/docker-compose.yml
  • Dữ liệu bền vững trong PostgreSQL: /var/lib/docker/volumes/rallly_db-data
  • Cấu hình Nginx: /etc/nginx/sites-available/rallly.conf
  • Chứng chỉ SSL: /etc/nginx/ssl/

Quản lý dịch vụ

Kiểm tra trạng thái container:

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

Restart Rallly:

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

Xem nhật ký:

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

Kích hoạt SSL với tên miền

1. Trỏ tên miền của bạn đến địa chỉ IP của máy chủ.

2. Chỉnh sửa /root/rallly/config.env Tệp tin để thiết lập tên miền của bạn: NEXT_PUBLIC_BASE_URL=https://your.domain.com

3. Tái tạo các dịch vụ:

cd /root/rallly/
docker compose up -d

4. Chỉnh sửa cấu hình Nginx và thay thế cả hai server_name <IP>; với tên miền của bạn (<your-domain>) cho cả khối HTTP (cổng 80) và HTTPS (cổng 443):

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

5. Cài đặt Certbot:

apt install -y certbot python3-certbot-nginx

6. Chạy lệnh sau để tạo chứng chỉ Let's Encrypt hợp lệ:

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

7. Thay thế đường dẫn SSL trong cấu hình Nginx (phần 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. Khởi động lại Nginx để áp dụng các thay đổi:

systemctl restart nginx

9. Mở trình duyệt của bạn và truy cập: https://yourdomain.com

Thông tin ứng dụng