toolkit icon indicating copy to clipboard operation
toolkit copied to clipboard

Limit the Overleaf containers on the host

Open romuluc opened this issue 1 year ago • 0 comments

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!

romuluc avatar Oct 14 '24 17:10 romuluc