> For the complete documentation index, see [llms.txt](https://docs.ipcheck.ing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ipcheck.ing/developer/ru/getting-started/quickstart.md).

# Быстрый старт

Запустите собственный экземпляр MyIP одной командой Docker.

Самый быстрый способ запустить MyIP — это готовый Docker-образ. Вам понадобятся Docker и бесплатная учётная запись MaxMind GeoLite2.

{% stepper %}
{% step %}

#### Получите учетные данные MaxMind

MyIP использует бесплатные **GeoLite2** базы данных для геолокации IP и поиска ASN. Зарегистрируйтесь на [maxmind.com/en/geolite2/signup](https://www.maxmind.com/en/geolite2/signup), затем сгенерируйте лицензионный ключ на странице **Управление лицензионными ключами** .

Полное руководство: [Настройка MaxMind](/developer/ru/getting-started/maxmind-setup.md).
{% endstep %}

{% step %}

#### Запустите контейнер

{% code title="docker run" %}

```bash
docker run -d \
  -p 18966:18966 \
  -e MAXMIND_ACCOUNT_ID="your-account-id" \
  -e MAXMIND_LICENSE_KEY="your-license-key" \
  -e DATASET_AUTO_UPDATE="true" \
  --name myip \
  --restart always \
  jason5ng32/myip:latest
```

{% endcode %}
{% endstep %}

{% step %}

#### Откройте приложение

Перейдите по адресу <http://localhost:18966>.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**При первом запуске загружаются базы данных GeoLite2.** Приложение доступно сразу; загрузка выполняется в фоновом режиме и прекращается через 5 минут, так что неверные учетные данные никогда не блокируют запуск. Пока она не завершится, запросы MaxMind отвечают `503` и значки стран остаются пустыми. Следите за процессом с помощью `docker logs -f myip` — вам нужна строка `📦 Базы данных MaxMind загружены`.
{% endhint %}

{% hint style="warning" %}
**`localhost` работает сразу из коробки. Реальный домен — нет.** Бэкенд отклоняет каждый `/api/*` запрос, у которого `Referer` имя хоста не `localhost` и не указано в `ALLOWED_DOMAINS`. Прежде чем размещать MyIP на домене, прочитайте [Обратный прокси и домены](/developer/ru/getting-started/reverse-proxy-and-domains.md).
{% endhint %}

{% hint style="info" %}
**Изменяете MyIP?** MyIP распространяется по лицензии [AGPL-3.0](https://github.com/jason5ng32/MyIP/blob/main/LICENSE). Запуск без изменений не требует ничего дополнительного. Если вы внесёте изменения и дадите другим людям возможность использовать их, вы должны предложить им изменённый исходный код на тех же условиях лицензии.
{% endhint %}

## Следующие шаги

* [Развертывание с Docker](/developer/ru/getting-started/deploy-with-docker.md) — Compose, обновления, сопоставление портов, где хранятся данные
* [Развертывание с Node.js](/developer/ru/getting-started/deploy-with-nodejs.md) — собрать из исходников, запускать под pm2
* [Необязательные API-ключи](/developer/ru/configuration/optional-api-keys.md) — дополнительные источники данных об IP, карты, инструменты ASN
* [Переменные окружения](/developer/ru/reference/environment-variables.md) — полный список


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ipcheck.ing/developer/ru/getting-started/quickstart.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
