> 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/id/instalasi/air-gapped-offline-deployments.md).

# Deployment air-gapped/offline

Secara umum, kami tidak merekomendasikan penerapan AyakaLeaf Pro di lingkungan offline, karena banyak fiturnya, seperti GitHub Sync dan integrasi Zotero, memerlukan koneksi internet.

Namun jika Anda ingin bekerja secara offline, yang berarti mungkin tidak selalu memungkinkan untuk menjangkau registry ghcr.io guna menarik yang diperlukan `sharelatex` , `ayakaleaf-pro` dan image TeX Live. Ini bukan masalah karena Docker menyediakan alat untuk mengekspor dan mengimpor image yang akan membantu Anda dengan penerapan offline/air-gapped.

Secara garis besar, Anda akan mengunduh image yang diperlukan di perangkat dengan konektivitas internet, mengekspornya ke perangkat portabel (atau mentransfernya menggunakan SCP/Rsync), dan mengimpornya ke server air-gapped.

Untuk melakukannya, Anda perlu menyelesaikan langkah-langkah berikut:

* Tarik semua image yang diperlukan ( `overleaf-pro`, `git-bridge`, `mongo`, `redis` + semua [image TeX Live](https://docs.overleaf.com/on-premises/configuration/overleaf-toolkit/server-pro-only-configuration/sandboxed-compiles#available-tex-live-images) untuk digunakan dengan [Sandboxed Compiles](https://docs.overleaf.com/on-premises/configuration/overleaf-toolkit/server-pro-only-configuration/sandboxed-compiles)) pada mesin dengan konektivitas internet
  * `docker pull ghcr.io/ayaka-notes/overleaf-pro:6.1.2`
  * `docker pull quay.io/sharelatex/git-bridge:6.1.2` (tag harus sama dengan `overleaf-pro`)
  * `docker pull mongo:6` (Silakan ubah ke versi sebenarnya)
  * `docker pull redis:6.2` (Silakan ubah ke versi sebenarnya)
  * `docker pull ghcr.io/ayaka-notes/texlive-full:2024.1` (Silakan ubah ke versi sebenarnya)
* Untuk **setiap** image yang telah ditarik, Anda kemudian perlu mengekspornya ke file .tar. Sebagai contoh, `docker save ghcr.io/ayaka-notes/overleaf-pro:6.1.2 > overleaf-pro:6.1.2.tar`
* Dengan metode pilihan Anda, transfer `file .tar` dari mesin yang terhubung ke internet ke server offline/air-gapped
* Untuk setiap file .tar, gunakan `docker load` perintah untuk memuat image dari file .tar. Sebagai contoh, `docker load < overleaf-pro:6.1.2.tar`
* Terakhir, jalankan `docker images` perintah untuk melihat/memastikan bahwa pemuatan image berhasil dan bahwa image tersebut tersedia

{% hint style="danger" %}
Secara default, ketika Anda menjalankan perintah `bin/up` Toolkit akan mencoba secara otomatis menarik setiap image TeX Live yang diatur melalui `ALL_TEX_LIVE_DOCKER_IMAGES` di `config/variables.env`. Karena penerapan Anda bersifat air-gapped, ini akan gagal -- Anda dapat menghentikan ini dengan menggunakan `SIBLING_CONTAINERS_PULL=false` di `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/id/instalasi/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.
