Accessing Rallly
- Öffnen Sie Ihren Browser und gehen Sie zu:
https://<SERVER-IP>/ - SSL-Warnung akzeptieren (selbstsigniertes Zertifikat).
Email (SMTP) Configuration
Stellen Sie sicher, dass SMTP-Verbindungen für diesen Server zugelassen sind (beantragen Sie die Aktivierung des SMTP-Zugriffs).
SMTP settings are stored in: /root/rallly/config.env
To update SMTP or email settings:
- Edit the file:
nano /root/rallly/config.env - Änderungen übernehmen:
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.
Wichtige Dateien und Verzeichnisse
- Main application directory:
/root/rallly - Application environment configuration:
/root/rallly/config.env - Docker Compose-Konfiguration:
/root/rallly/docker-compose.yml - PostgreSQL persistente Daten:
/var/lib/docker/volumes/rallly_db-data - Nginx-Konfiguration:
/etc/nginx/sites-available/rallly.conf - SSL-Zertifikate:
/etc/nginx/ssl/
Verwaltung des Dienstes
Containerstatus überprüfen:
docker compose -f /root/rallly/docker-compose.yml ps
Restart Rallly:
docker compose -f /root/rallly/docker-compose.yml restart
Protokolle anzeigen:
docker compose -f /root/rallly/docker-compose.yml logs -f
SSL mit einer Domain aktivieren
1. Richten Sie Ihre Domain auf die Server-IP aus.
2. Bearbeiten Sie die /root/rallly/config.env Datei zum Festlegen Ihres Domainnamens: NEXT_PUBLIC_BASE_URL=https://your.domain.com
3. Die Dienste neu erstellen:
cd /root/rallly/
docker compose up -d
4. Bearbeiten Sie die Nginx-Konfiguration und ersetzen Sie beide server_name <IP>; mit Ihrer Domain (<your-domain>) sowohl für HTTP- (Port 80) als auch für HTTPS-Blöcke (Port 443):
vim /etc/nginx/sites-available/rallly.conf
5. Certbot installieren:
apt install -y certbot python3-certbot-nginx
6. Führen Sie den folgenden Befehl aus, um ein gültiges Let’s Encrypt-Zertifikat zu generieren:
certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
7. Ersetzen Sie die SSL-Pfade in der Nginx-Konfiguration (TLS-Abschnitt):
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. Starten Sie Nginx neu, um die Änderungen zu übernehmen:
systemctl restart nginx
9. Öffnen Sie Ihren Browser und besuchen Sie: https://yourdomain.com