> 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/zh-cn/an-zhuang/using-the-toolkit/4.-get-overleaf-pro-images.md).

# 4. 获取 Ayakaleaf Pro 镜像

Ayakaleaf Pro 作为 Docker 镜像发布在 [ghcr](https://github.com/ayaka-notes/overleaf-pro/pkgs/container/overleaf-pro/) 镜像仓库中，且 <mark style="color:$primary;">**可公开访问**</mark> 可供任何人使用。

#### Ayaka-notes Toolkit 用户

如果你正在使用 [ayaka-notes/toolkit](https://github.com/ayaka-notes/toolkit)，那么 Ayakaleaf Pro 可以作为 Community Edition 的直接替代品使用，因此你可以继续使用现有设置和自定义内容。通过编辑 `config/overleaf.rc` 并设置 `SERVER_PRO` 环境变量来启用 Pro：

{% code title="config/overleaf.rc" %}

```
SERVER_PRO=true
```

{% endcode %}

下次你运行 `bin/up`时，Toolkit 将自动下载并使用 Server Pro 镜像。

#### 官方 Toolkit 用户

要获取 Pro 镜像，请运行以下命令拉取：

{% code title="拉取 Docker 镜像" %}

```bash
docker pull ghcr.io/ayaka-notes/overleaf-pro:latest
```

{% endcode %}

然后，添加一个名为 `docker-compose.override.yml` 的文件，并在 `overleaf-toolkit/config` 目录中写入以下或类似内容：

{% code title="docker-compose.override.yml" %}

```yml
---
services:
    sharelatex:
        image: ghcr.io/ayaka-notes/overleaf-pro:latest # 或 X.x.x
```

{% endcode %}


---

# 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/zh-cn/an-zhuang/using-the-toolkit/4.-get-overleaf-pro-images.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.
