الانتقال إلى المحتوى الرئيسي
1

إنشاء Droplet

أنشئ Droplet بالموارد المناسبة. لهذا الدليل، سنستخدم تكوينًا موصى به مع Docker مثبت مسبقًا.
اقرأ دليل الموارد لمزيد من التفاصيل.
  • أعطِ Droplet اسمًا وصفياً مثل gorbit-prod
  • اختر منطقة قريبة من مستخدميك
  • اختر صورة Docker من تبويب Marketplace
  • اختر حجم Droplet بـ 4 vCPUs على الأقل و 16 جيجابايت RAM
  • قم بتكوين التخزين وفقًا لدليل الموارد
  • أضف مفتاح SSH للوصول الآمن
2

إنشاء Droplet

انقر Create Droplet ثم اعرض تفاصيل Droplet.
احفظ Public IP address للـ Droplet!
Digital Ocean Public IP Address
3

Point domain to the instance

If you don’t have a domain, buy one from a DNS provider like GoDaddy or just skip HTTPS for now.
To point our domain to the new instance, we need to add an A and CNAME record to our DNS provider.The A record should be the subdomain that you would like to use for the Gorbit instance like prod.The CNAME record should be the same name with the www. in front resulting in www.prod pointing to the full domain like prod.gorbit.app.DNS A Record ConfigurationDNS CNAME Record Configuration
4

تثبيت متطلبات Gorbit

بما أننا اخترنا صورة Docker Marketplace، فإن Docker و Docker Compose مثبتان بالفعل.نحتاج فقط لتثبيت git:
sudo apt update
sudo apt install -y git

Next Steps