> For the complete documentation index, see [llms.txt](https://ayakaleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ayakaleaf-pro.ayaka.space/on-premises/ar/altthbyt/air-gapped-offline-deployments.md).

# عمليات النشر المعزولة عن الشبكة/غير المتصلة بالإنترنت

بوجه عام، لا نوصي بنشر AyakaLeaf Pro في بيئة غير متصلة بالإنترنت، لأن العديد من ميزاته، مثل مزامنة GitHub ودمج Zotero، تتطلب اتصالًا بالإنترنت.

ولكن إذا كنت ترغب في العمل دون اتصال، فهذا يعني أنه قد لا يكون من الممكن دائمًا الوصول إلى سجل ghcr.io لسحب المطلوب `sharelatex` , `ayakaleaf-pro` وصور TeX Live. وهذه ليست مشكلة، إذ يوفر Docker أدوات لتصدير الصور واستيرادها، مما سيساعدك في النشر دون اتصال/المعزول عن الشبكة.

بصورة عامة، ستقوم بتنزيل الصور المطلوبة على جهاز متصل بالإنترنت، وتصديرها إلى جهاز محمول (أو نقلها باستخدام SCP/Rsync)، ثم استيرادها على الخادم المعزول عن الشبكة.

للقيام بذلك، ستحتاج إلى إكمال الخطوات التالية:

* اسحب جميع الصور المطلوبة ( `overleaf-pro`, `git-bridge`, `mongo`, `redis` + وأي [صور TeX Live](https://docs.overleaf.com/on-premises/configuration/overleaf-toolkit/server-pro-only-configuration/sandboxed-compiles#available-tex-live-images) لاستخدامها مع [عمليات التجميع المعزولة](https://docs.overleaf.com/on-premises/configuration/overleaf-toolkit/server-pro-only-configuration/sandboxed-compiles)) على جهاز متصل بالإنترنت
  * `docker pull ghcr.io/ayaka-notes/overleaf-pro:6.1.2`
  * `docker pull quay.io/sharelatex/git-bridge:6.1.2` (يجب أن تكون العلامة نفسها مثل `overleaf-pro`)
  * `docker pull mongo:6` (يرجى تغييره إلى الإصدار الفعلي)
  * `docker pull redis:6.2` (يرجى تغييره إلى الإصدار الفعلي)
  * `docker pull ghcr.io/ayaka-notes/texlive-full:2024.1` (يرجى تغييره إلى الإصدار الفعلي)
* بالنسبة لـ **كل** الصور التي تم سحبها، ستحتاج بعد ذلك إلى تصديرها إلى ملف .tar. على سبيل المثال، `docker save ghcr.io/ayaka-notes/overleaf-pro:6.1.2 > overleaf-pro:6.1.2.tar`
* باستخدام الطريقة التي تفضلها، انقل `.tar` الملفات من جهازك المتصل بالإنترنت إلى الخادم غير المتصل/المعزول عن الشبكة
* بالنسبة لكل ملف من ملفات .tar، استخدم `docker load` الأمر لتحميل الصورة من ملف .tar. على سبيل المثال، `docker load < overleaf-pro:6.1.2.tar`
* أخيرًا، شغّل `docker images` الأمر لعرض/تأكيد أن تحميل الصور تم بنجاح وأنها متاحة

{% hint style="danger" %}
افتراضيًا، عند تشغيلك أمر `bin/up` ، سيحاول Toolkit تلقائيًا سحب كل صورة من صور TeX Live المحددة عبر `ALL_TEX_LIVE_DOCKER_IMAGES` في `config/variables.env`. وبما أن النشر لديك معزول عن الشبكة، فسيفشل ذلك — يمكنك منع هذا باستخدام `SIBLING_CONTAINERS_PULL=false` في `config/overleaf.rc`.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ayakaleaf-pro.ayaka.space/on-premises/ar/altthbyt/air-gapped-offline-deployments.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
