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

# Air-gapped/offline implementaties

Over het algemeen raden we het niet aan om AyakaLeaf Pro in een offline omgeving uit te rollen, omdat veel van de functies, zoals GitHub Sync en Zotero-integratie, een internetverbinding vereisen.

Maar als je offline wilt werken, wat betekent dat het niet altijd mogelijk is om het ghcr.io-register te bereiken om de vereiste `sharelatex` , `ayakaleaf-pro` en TeX Live-images. Dit is geen probleem, omdat Docker hulpmiddelen biedt voor het exporteren en importeren van images die je zullen helpen bij een offline/air-gapped uitrol.

Op hoofdlijnen download je de vereiste images op een apparaat met internetverbinding, exporteer je ze naar een draagbaar apparaat (of draag je ze over via SCP/Rsync) en importeer je ze op de air-gapped server.

Hiervoor moet je de volgende stappen uitvoeren:

* Haal alle vereiste images op ( `overleaf-pro`, `git-bridge`, `mongo`, `redis` + eventuele vereiste [TeX Live-images](https://docs.overleaf.com/on-premises/configuration/overleaf-toolkit/server-pro-only-configuration/sandboxed-compiles#available-tex-live-images) voor gebruik met [Sandboxed Compiles](https://docs.overleaf.com/on-premises/configuration/overleaf-toolkit/server-pro-only-configuration/sandboxed-compiles)) op een machine met internetverbinding
  * `docker pull ghcr.io/ayaka-notes/overleaf-pro:6.1.2`
  * `docker pull quay.io/sharelatex/git-bridge:6.1.2` (tag moet hetzelfde zijn als `overleaf-pro`)
  * `docker pull mongo:6` (Wijzig dit alstublieft naar de echte versie)
  * `docker pull redis:6.2` (Wijzig dit alstublieft naar de echte versie)
  * `docker pull ghcr.io/ayaka-notes/texlive-full:2024.1` (Wijzig dit alstublieft naar de echte versie)
* Voor **elk** van de opgehaalde images moet je ze vervolgens exporteren naar een .tar-bestand. Bijvoorbeeld, `docker save ghcr.io/ayaka-notes/overleaf-pro:6.1.2 > overleaf-pro:6.1.2.tar`
* Draag met je voorkeursmethode de `.tar` bestanden over van je machine met internetverbinding naar de offline/air-gapped server
* Gebruik voor elk van de .tar-bestanden het `docker load` commando om de image uit het .tar-bestand te laden. Bijvoorbeeld, `docker load < overleaf-pro:6.1.2.tar`
* Voer ten slotte het `docker images` commando uit om te bekijken/bevestigen dat het laden van de images is geslaagd en dat ze beschikbaar zijn

{% hint style="danger" %}
Standaard, wanneer je het `bin/up` commando uitvoert, zal de Toolkit proberen automatisch elk van de TeX Live-images op te halen ingesteld via `ALL_TEX_LIVE_DOCKER_IMAGES` in `config/variables.env`. Omdat je implementatie air-gapped is, zal dit mislukken -- je kunt dit stoppen door gebruik te maken van `SIBLING_CONTAINERS_PULL=false` in `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/nl/installatie/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.
