> 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/pl/instalacja/using-the-toolkit/5.-personalizing-your-instance.md).

# 5. Dostosowanie swojej instancji

### Dostosowywanie instancji <a href="#personalizing-your-instance" id="personalizing-your-instance"></a>

Zanim uruchomisz swoją instancję Overleaf po raz pierwszy, zaktualizuj `config/variables.env` plik konfiguracyjny, wprowadzając swoje własne informacje.

{% stepper %}
{% step %}

### Edytuj plik zmiennych

Otwórz `config/variables.env` w swoim ulubionym edytorze tekstu i zaktualizuj poniższe zmienne środowiskowe, wpisując wymagane wartości.
{% endstep %}

{% step %}

### Wymagane zmienne środowiskowe

Zaktualizuj następujące zmienne w `config/variables.env`:

| Nazwa                         | Opis                                                                                                                                                                                          | Przykład                        |
| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- |
| `OVERLEAF_SITE_URL`           | Adres, pod którym Twoja instancja Overleaf jest publicznie dostępna. Jest to używane w publicznych linkach oraz podczas łączenia przez WebSocket, więc **musi być poprawnie skonfigurowane**! | `https://overleaf.lilliput.com` |
| `OVERLEAF_EMAIL_FROM_ADDRESS` | Ten adres e-mail będzie używany jako `nadawcy` adres dla wszystkich wychodzących wiadomości e-mail.                                                                                           | `no-reply@lilliput.com`         |
| `OVERLEAF_ADMIN_EMAIL`        | Adres e-mail, pod którym użytkownicy mogą skontaktować się z osobą administrującą witryną.                                                                                                    | `it-services@lilliput.com`      |

Gdy zaktualizujesz te zmienne środowiskowe, zapisz plik i zakończ.
{% endstep %}

{% step %}

### Uruchom instancję

Aby uruchomić instancję, uruchom:

{% code title="Uruchom instancję" %}

```
bin/up
```

{% endcode %}

To polecenie pobierze wymagane obrazy, utworzy kontenery (z użyciem Twoich dostosowań) i uruchomi instancję. Powinieneś zobaczyć wyjście logów z różnych kontenerów Docker.

Aby uruchomić je ponownie później (bez dołączania do wyjścia logów), uruchom:

{% code title="Uruchom bez dołączania do logów" %}

```
bin/start
```

{% endcode %}
{% endstep %}
{% endstepper %}

{% hint style="info" %}
Toolkit używa `docker compose` do zarządzania kontenerami Docker Overleaf. Toolkit udostępnia zestaw skryptów, które opakowują `docker compose` i zajmują się za Ciebie większością szczegółów.
{% endhint %}

Jeśli wszystko pójdzie dobrze, powinieneś móc wyświetlić stronę logowania do swojej nowej instancji Overleaf, przechodząc do <http://127.0.0.1/> lub <http://localhost/> w swojej przeglądarce.

{% hint style="warning" %}
W zależności od konfiguracji sieci i miejsca hostowania Twojej instancji Overleaf możesz potrzebować dodatkowych zmian konfiguracji. Więcej informacji znajdziesz w ustawieniach Toolkit:

<https://docs.overleaf.com/on-premises/configuration/overleaf-toolkit/toolkit-settings>
{% 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/pl/instalacja/using-the-toolkit/5.-personalizing-your-instance.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.
