Accessing Rallly
- Ouvrez votre navigateur et rendez-vous sur :
https://<SERVER-IP>/ - Accepter l'avertissement SSL (certificat auto-signé).
Email (SMTP) Configuration
Assurez-vous que les connexions SMTP sont autorisées pour ce serveur (demandez l'activation de l'accès SMTP).
SMTP settings are stored in: /root/rallly/config.env
To update SMTP or email settings:
- Edit the file:
nano /root/rallly/config.env - Appliquer les modifications :
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.
Fichiers et répertoires importants
- Main application directory:
/root/rallly - Application environment configuration:
/root/rallly/config.env - Configuration Docker Compose :
/root/rallly/docker-compose.yml - Données persistantes PostgreSQL :
/var/lib/docker/volumes/rallly_db-data - Configuration Nginx :
/etc/nginx/sites-available/rallly.conf - Certificats SSL :
/etc/nginx/ssl/
Gestion du service
Vérifier l'état du conteneur :
docker compose -f /root/rallly/docker-compose.yml ps
Restart Rallly:
docker compose -f /root/rallly/docker-compose.yml restart
Afficher les journaux :
docker compose -f /root/rallly/docker-compose.yml logs -f
Activation du protocole SSL avec un domaine
1. Pointez votre domaine vers l'adresse IP du serveur.
2. Modifier le /root/rallly/config.env fichier pour définir votre nom de domaine : NEXT_PUBLIC_BASE_URL=https://your.domain.com
3. Recréer les services :
cd /root/rallly/
docker compose up -d
4. Modifiez la configuration Nginx et remplacez les deux server_name <IP>; avec votre domaine (<your-domain>) pour les blocs HTTP (port 80) et HTTPS (port 443) :
vim /etc/nginx/sites-available/rallly.conf
5. Installez Certbot :
apt install -y certbot python3-certbot-nginx
6. Exécutez la commande suivante pour générer un certificat Let's Encrypt valide :
certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
7. Remplacer les chemins SSL dans la configuration Nginx (section 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. Redémarrez Nginx pour appliquer les modifications :
systemctl restart nginx
9. Ouvrez votre navigateur et rendez-vous sur : https://yourdomain.com