overleaf / overleaf/toolkit

Limit the Overleaf containers on the host

Open
#297 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
1.3k
Forks
310
Avg merge
3d 12h
Merged PRs (30d)
1

Description

Hello!

I am using the Overleaf Toolkit on my server, and I would like to know the best way to limit resource usage on the host machine by the Overleaf containers.

In other application containers, I usually set the following configurations:

deploy:
  resources:
    limits:
      cpus: '12'
      memory: 64g

Would this work for Overleaf?

Should it be placed in ~/overleaf-toolkit/lib/docker-compose.base.yml?

I appreciate any help or experience with this request.

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing ~/overleaf-toolkit/lib/docker-compose.base.yml and the shown deploy.resources.limits configuration. Determine whether CPU and memory limits are supported for the Overleaf containers and where such settings belong. Done means the issue documents a confirmed configuration path or identifies the needed toolkit change.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose
Domain
infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.