How to Increase Memory for Self-Hosted 3.114 Stable

How do we specify memory allocation in docker-compose for 3.114 stable on self hosted? I recently installed it and notice that the containers are constantly restarting. Upon checking documentation here I assume my issue is due to memory allocation. The documentation does not state how to configure the memory allocation.

For example: what is the minimum required memory to run this version? Where do we configure this within the file and for which image(s)?

These are the containers that are restarting with version 3.114.1-stable. All others are running just fine. I tried editing the compose file for allocating memory based on standard docker documentation for all three containers but they are still restarting after applying the update. Any recommendations?

retool-onpremise-master_api
retool-onpremise-master_workflows-backend
retool-onpremise-master_workflows-worker

This post can be closed. I figured out the issue. Upon checking the logs it appeared to have been authentication issue resulting from when I reinstalled from scratch but did not remove the old volumes. After removing containers, images and volumes I ran the docker compose up then everything came up fine. I deleted what I had configured for memory in the docker compose file since that was not the issue.