> For the complete documentation index, see [llms.txt](https://overleaf-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://overleaf-pro.ayaka.space/on-premises/nl/installatie/air-gapped-offline-deployments.md).

# Air-gapped/offline implementaties

Overleaf Community Edition en Overleaf Pro zijn beide ontworpen om offline te werken, wat betekent dat het niet altijd mogelijk is om de ghcr.io-registry te bereiken om de vereiste `sharelatex` , `overleaf-pro` en TeX Live-images op te halen. Dit is geen probleem, aangezien Docker hulpmiddelen biedt voor het exporteren en importeren van images die u helpen bij een offline-/air-gapped-implementatie.

Op hoofdlijnen downloadt u de vereiste images op een apparaat met internetverbinding, exporteert u ze naar een draagbaar apparaat (of zet u ze over met SCP/Rsync) en importeert u ze op de air-gapped server.

Om dit te doen, moet u de volgende stappen voltooien:

* 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` (de tag moet hetzelfde zijn als `overleaf-pro`)
  * `docker pull mongo:6` (Pas aan naar de echte versie)
  * `docker pull redis:6.2` (Pas aan naar de echte versie)
  * `docker pull ghcr.io/ayaka-notes/texlive-full:2024.1` (Pas aan naar de echte versie)
* Voor **elk** van de opgehaalde images moet u deze vervolgens exporteren naar een .tar-bestand. Bijvoorbeeld, `docker save ghcr.io/ayaka-notes/overleaf-pro:6.1.2 > overleaf-pro:6.1.2.tar`
* Gebruik uw voorkeursmethode om de `.tar` bestanden van uw machine met internetverbinding over te zetten naar de offline-/air-gapped server
* Gebruik voor elk van de .tar-bestanden de `docker load` opdracht om de image uit het .tar-bestand te laden. Bijvoorbeeld, `docker load < overleaf-pro:6.1.2.tar`
* Voer ten slotte de `docker images` opdracht uit om te bekijken/bevestigen dat het laden van de images is gelukt en dat ze beschikbaar zijn

{% hint style="danger" %}
Standaard, wanneer u de `bin/up` opdracht uitvoert, probeert de Toolkit automatisch elk van de TeX Live-images op te halen die zijn ingesteld via `ALL_TEX_LIVE_DOCKER_IMAGES` in `config/variables.env`. Aangezien uw implementatie air-gapped is, zal dit mislukken -- u 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://overleaf-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.
