الوصول إلى التطبيق
افتح متصفحك وانتقل إلى: http://<SERVER_IP>
First startup may take a few minutes; a temporary Nginx 502 during this time is normal.
بيانات تسجيل الدخول الافتراضية:
- البريد الإلكتروني:
[email protected] - كلمة المرور:
sample
Please do not forget to change your email and password from the settings page.
مسارات مهمة
- دليل التثبيت:
/opt/automatisch - Project directory:
/opt/automatisch - ملف Docker Compose:
/opt/automatisch/docker-compose.yml - Application storage (volume):
/var/lib/docker/volumes/automatisch_automatisch_storage/_data - PostgreSQL data (volume):
/var/lib/docker/volumes/automatisch_postgres_data/_data - Redis data (volume):
/var/lib/docker/volumes/automatisch_redis_data/_data - تكوين NGINX:
/etc/nginx/sites-available/automatisch - NGINX enabled site:
/etc/nginx/sites-enabled/automatisch
Common Commands
Navigate to project:
cd /opt/automatisch
عرض السجلات:
docker compose logs -f
إعادة تشغيل الخدمات:
docker compose restart
Stop / Start:
docker compose down
docker compose up -d
تحقق من الحاويات:
docker ps
الخدمات
- Main: Automatisch web application, exposed on port 3000
- Worker: Background job processor, internal
- PostgreSQL: Database service, internal (default port 5432)
- Redis: Queue and cache service, internal (default port 6379)
تمكين SSL باستخدام نطاق
1. قم بتوجيه نطاقك إلى عنوان IP للخادم.
2. قم بتحرير تكوين Nginx واستبدل كلاهما server_name _; مع نطاقك (<your-domain>):
vim /etc/nginx/sites-available/automatisch
3. تثبيت Certbot:
apt install -y certbot python3-certbot-nginx
4. قم بتشغيل الأمر التالي لإنشاء شهادة Let's Encrypt صالحة:
certbot --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. Restart Nginx to apply the changes:
systemctl restart nginx
6. Open your browser and visit: https://yourdomain.com
