> 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/ko/getting-started/pro-infrastructure.md).

# Pro 인프라

#### 서비스

Overleaf Pro 인프라는 네 가지 주요 서비스로 구성됩니다: `sharelatex`, `git-bridge` (선택 사항), `mongo` 및 `redis`. 그리고 `sharelatex` 메인 Server Pro 애플리케이션을 실행하는 서비스는 `mongo` 및 `redis` 데이터베이스 및 캐싱/실시간 기능을 위해 서비스에 의존하며, 그리고 `git-bridge` 처리하기 위해 [Git 통합](/on-premises/ko/configuration/overleaf-toolkit/git-integration.md) (선택 사항). 호스트 머신에 공개되는 유일한 포트는 80번 포트이며, 이는 `sharelatex` 컨테이너에 의해 사용됩니다.

Server Pro는 또한 선택적으로 [S3 호환 스토리지](/on-premises/ko/configuration/overleaf-toolkit/s3.md) 프로젝트 파일과 전체 프로젝트 기록을 위한 것일 뿐 아니라, 메인 [Overleaf 문서 사이트arrow-up-right](https://www.overleaf.com/learn). 자세한 내용은 다음에 대한 가이드를 참조하세요: [LaTeX 사용자 도움말 추가](broken://pages/4972e96ee51129dc62675b4a2bb5768f8e8ca7ab) 페이지.

{% hint style="info" %}
필요한 경우 MongoDB와 Redis는 환경 변수를 사용해 외부 서비스로 외부화할 수 있습니다. 자세한 내용은 [Overleaf 구성](/on-premises/ko/configuration/overleaf-toolkit.md) Docker Compose를 사용하는 경우 및 [Toolkit 설정](/on-premises/ko/configuration/overleaf-toolkit/toolkit-settings.md) Overleaf Toolkit을 사용하는 경우.
{% endhint %}

#### 컴파일

다음의 경우 [샌드박스된 컴파일](broken://pages/c7999a2e39f906d951c2b5ec2f2c14ba192eea5c), 해당 `sharelatex` 컨테이너는 프로젝트 컴파일을 처리하기 위해 새 컨테이너의 생성을 조율합니다. 이는 호스트 머신의 Docker 소켓을 통해 이루어집니다. 편집기 및 엔드투엔드 컴파일/캐싱 프로세스에 대해 더 읽어볼 수 있습니다 [여기](/on-premises/ko/getting-started/microservices.md#editor-and-compile-process).

#### 네트워킹

컨테이너 간 통신은 전용 브리지 네트워크를 통한 Docker의 내부 DNS 확인으로 이루어지며, 방화벽은 활성화되어 있지 않습니다. 기본적으로 위 서비스들은 각각의 표준 포트를 사용하지만 환경 변수로 구성할 수 있습니다.  `sharelatex` 컨테이너는 외부 웹 액세스를 위해 80번 포트를 사용하며(Nginx가 제공합니다), `mongo` 컨테이너는 27017번 포트를 사용하며 `redis` 6379번 포트를 사용합니다.

관리형 솔루션을 사용하는 고객의 경우 [Overleaf Toolkitarrow-up-right](https://github.com/overleaf/toolkit), 선택적으로 [TLS 프록시를 활성화할 수 있습니다](broken://pages/9b6be08f262001fc547fbd546538c538ada8b2af) 환경 변수를 통해 Nginx를 사용하여 HTTPS 연결을 종료할 수 있습니다. 또는 기존 TLS 프록시를 사용할 수 있습니다.

{% hint style="info" %}
요청 흐름을 설명하는 다이어그램을 볼 수 있습니다 [여기](broken://pages/9b6be08f262001fc547fbd546538c538ada8b2af).
{% endhint %}

#### 요약

* Docker 네트워크 밖에서는 80번 포트만 접근 가능하며 Nginx에 바인딩됩니다. **참고:** 해당 `sharelatex` 컨테이너는 많은 [서비스arrow-up-right](https://github.com/overleaf/overleaf/tree/main/services) HTTP를 통해 서로 통신합니다. 그러나 이러한 포트는 **아닙니다** Docker 네트워크 밖에서는 접근할 수 없습니다.
* Docker 네트워크 내부에서는 Overleaf 서비스, MongoDB, Redis 및 Git Bridge가 서로 자유롭게 통신할 수 있습니다.
* 내부 [샌드박스된 컴파일](broken://pages/c7999a2e39f906d951c2b5ec2f2c14ba192eea5c) 컨테이너에서는 네트워크를 사용할 수 없습니다.

관련 주제는 다음을 참조하세요:

* [마이크로서비스](/on-premises/ko/getting-started/microservices.md)
* [Ayakaleaf Toolkit이란 무엇인가요?](/on-premises/ko/getting-started/what-is-the-overleaf-toolkit.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 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/ko/getting-started/pro-infrastructure.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.
