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:
- Edit the file:
nano /root/rallly/config.env - 변경 사항 적용:
cd/root/rallly && docker compose up -d
Creating the Admin Account
- Sign up using the admin email you provided during deployment.
- Once logged in, open:
https://<SERVER-IP>/control-panel - If your email matches
INITIAL_ADMIN_EMAIL, you will see a button labeled: Make me an admin - Click it to become the administrator.
- 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 구성 파일(TLS 섹션)에서 SSL 경로 교체:
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