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. แทนที่เส้นทาง SSL ในไฟล์การตั้งค่า Nginx (ส่วน 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

รายละเอียดการสมัคร