> 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/pt-br/getting-started/quickstart.md).

# Início rápido

Coloque sua própria instância do MyIP em execução com um único comando Docker.

A maneira mais rápida de executar o MyIP é pela imagem Docker pré-construída. Você precisa do Docker e de uma conta gratuita MaxMind GeoLite2.

{% stepper %}
{% step %}

#### Obter credenciais da MaxMind

O MyIP usa o gratuito **GeoLite2** bancos de dados para geolocalização de IP e consultas de ASN. Cadastre-se em [maxmind.com/en/geolite2/signup](https://www.maxmind.com/en/geolite2/signup), em seguida, gere uma chave de licença na **Gerenciar chaves de licença** página.

Passo a passo completo: [Configuração da MaxMind](/developer/pt-br/getting-started/maxmind-setup.md).
{% endstep %}

{% step %}

#### Executar o contêiner

{% 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 MAXMIND_AUTO_UPDATE="true" \
  --name myip \
  --restart always \
  jason5ng32/myip:latest
```

{% endcode %}
{% endstep %}

{% step %}

#### Abra o app

Acesse <http://localhost:18966>.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Na primeira inicialização, os bancos de dados GeoLite2 são baixados.** O backend tenta fazer o download antes de começar a escutar e desiste após 5 minutos, para que uma credencial inválida nunca bloqueie a inicialização. Acompanhe com `docker logs -f myip` — você está procurando a linha `📦 Bancos de dados da MaxMind carregados`.
{% endhint %}

{% hint style="warning" %}
**`localhost` funciona imediatamente. Um domínio real, não.** O backend rejeita toda `/api/*` requisição cujo `Referer` hostname não é `localhost` e não está listado em `ALLOWED_DOMAINS`. Antes de colocar o MyIP em um domínio, leia [Proxy reverso e domínios](/developer/pt-br/getting-started/reverse-proxy-and-domains.md).
{% endhint %}

## Próximos passos

* [Implantar com Docker](/developer/pt-br/getting-started/deploy-with-docker.md) — Compose, atualizações, mapeamento de portas, onde os dados ficam
* [Implantar com Node.js](/developer/pt-br/getting-started/deploy-with-nodejs.md) — compilar a partir do código-fonte, executar com pm2
* [Chaves de API opcionais](/developer/pt-br/configuration/optional-api-keys.md) — fontes extras de dados de IP, mapas, consulta de MAC
* [Variáveis de ambiente](/developer/pt-br/reference/environment-variables.md) — a lista completa


---

# 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://docs.ipcheck.ing/developer/pt-br/getting-started/quickstart.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.
