الوصول
- It might take some time to come up and start working properly without any issues.
- واجهة المستخدم على الويب:
https://<server-ip> - قبول تحذير SSL (شهادة موقعة ذاتيًا).
- Log in using the admin username and password you provided during installation.
- يتم تخزين بيانات تسجيل الدخول في:
/root/.cloudzy-creds
الملفات والمجلدات المهمة
- جذر التطبيق:
/root/dashy/ - Dashy configuration file:
/root/dashy/config.yml - ملف Docker Compose:
/root/dashy/docker-compose.yml - Stored admin credentials (read-only):
/root/.cloudzy-creds - تكوين موقع Nginx:
/etc/nginx/sites-available/dashy - تم تمكين موقع Nginx:
/etc/nginx/sites-enabled/dashy - شهادة TLS:
/etc/nginx/ssl/fullchain.pem - المفتاح الخاص لـ TLS:
/etc/nginx/ssl/privkey.pem
إدارة الخدمات
التحقق من حالة الحاوية:
docker compose -f /root/dashy/docker-compose.yml ps
إعادة التشغيل:
docker compose -f /root/dashy/docker-compose.yml restart
عرض السجلات:
docker compose -f /root/dashy/docker-compose.yml logs -f
تمكين SSL باستخدام نطاق
1. قم بتوجيه نطاقك إلى عنوان IP للخادم.
2. قم بتحرير تكوين Nginx واستبدل كلاهما server_name <IP>; مع نطاقك (<your-domain>) لكل من كتل HTTP (المنفذ 80) و HTTPS (المنفذ 443):
vim /etc/nginx/sites-available/dashy
3. تثبيت Certbot:
apt install -y certbot python3-certbot-nginx
4. قم بتشغيل الأمر التالي لإنشاء شهادة Let's Encrypt صالحة:
certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. استبدل مسارات SSL في تكوين Nginx:
vim /etc/apache2/sites-available/dashy
# 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;
6. أعد تشغيل Nginx لتطبيق التغييرات:
systemctl restart nginx
7. افتح متصفحك وانتقل إلى: https://yourdomain.com
