> 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/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 є загальнодоступним. Це використовується в публічних посиланнях і під час підключення через websockets, тож **має бути правильно налаштовано**! | `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` для керування контейнерами Overleaf Docker. 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://overleaf-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.
