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

# 5. Налаштування вашого екземпляра

### Налаштування вашого екземпляра <a href="#personalizing-your-instance" id="personalizing-your-instance"></a>

Перш ніж уперше запустити свій екземпляр Overleaf, оновіть `config/variables.env` файл конфігурації своєю власною інформацією.

{% stepper %}
{% step %}

### Відредагуйте файл змінних

Відкрийте `config/variables.env` у вашому улюбленому текстовому редакторі та оновіть наведені нижче змінні середовища потрібними значеннями.
{% endstep %}

{% step %}

### Обов’язкові змінні середовища

Оновіть такі змінні в `config/variables.env`:

| Назва                         | Опис                                                                                                                                                                     | Приклад                         |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------- |
| `OVERLEAF_SITE_URL`           | Де ваш екземпляр Overleaf доступний публічно. Це використовується в публічних посиланнях і під час підключення через WebSocket, тому **має бути налаштовано правильно**! | `https://overleaf.lilliput.com` |
| `OVERLEAF_EMAIL_FROM_ADDRESS` | Цю електронну адресу буде використано як `від` адресу для всіх вихідних електронних листів.                                                                              | `no-reply@lilliput.com`         |
| `OVERLEAF_ADMIN_EMAIL`        | Електронна адреса, за якою користувачі можуть зв’язатися з особою, яка керує сайтом.                                                                                     | `it-services@lilliput.com`      |

Після того як ви оновите ці змінні середовища, збережіть зміни та вийдіть.
{% endstep %}

{% step %}

### Запустіть свій екземпляр

Щоб запустити свій екземпляр, виконайте:

{% code title="Запустити екземпляр" %}

```
bin/up
```

{% endcode %}

Ця команда завантажить потрібні образи, створить контейнери (з урахуванням ваших налаштувань) і запустить екземпляр. Ви повинні побачити вивід журналу від різних контейнерів Docker.

Щоб запустити їх знову пізніше (без підключення до виводу журналу), виконайте:

{% code title="Запустити без підключення до журналів" %}

```
bin/start
```

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

{% hint style="info" %}
Toolkit використовує `docker compose` для керування Docker-контейнерами Overleaf. Toolkit надає набір скриптів, які обгортають `docker compose` і беруть на себе більшість деталей.
{% endhint %}

Якщо все буде добре, ви зможете переглянути сторінку входу до свого нового екземпляра Overleaf, перейшовши до <http://127.0.0.1/> або <http://localhost/> у вашому браузері.

{% hint style="warning" %}
Залежно від конфігурації вашої мережі та місця розміщення вашого екземпляра Overleaf вам може знадобитися внести додаткові зміни до конфігурації. Докладніше дивіться в налаштуваннях 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://ayakaleaf-pro.ayaka.space/on-premises/uk/vstanovlennya/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.
