Rallly

An open-source tool that simplifies scheduling and collaboration for events and meetings.

Accessing Rallly

  • 打开浏览器并访问: 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. 打开浏览器并访问: https://yourdomain.com

申请详情