How to Limit Ram and CPU on Unraid

So I just finished setting up Immich on my Unraid via Docker Composer Manager, and I was trying to figure out how to limit my CPU and Ram because I know for the start it doesn't have a limit and can use everything. I saw on the Docs on Immich that you can edit the dock-compose.yml file I wasn't sure where to put that and also I did tryi it out my putting at bottom and nothing happen was I suppose to restart it or something in order for it to work. Any help would be great!
Was this page helpful?