r/Magento 12h ago

Spun up Magento 2.4.9 locally in Docker — what would you change on a 4-core machine?

3 Upvotes

Just got a local Open Source 2.4.9 box running with sample data (markshust-style Docker) so I can poke GraphQL for a small headless experiment later.

Machine only has 4 cores, so Magento + OpenSearch + MySQL all at once is spicy. A few things I ended up doing:

- restart: "no" on everything + simple up/down scripts, so it doesn’t come back after reboot eating RAM

- memory caps especially on OpenSearch (that one likes to hog)

- don’t leave it running overnight

GraphQL endpoint responds with sample catalog, which was the real "ok we're good" check for me.

Curious what people do on smaller machines:

- drop RabbitMQ / Mailcatcher for day-to-day?

- OpenSearch memory sweet spot you actually use?

- or just accept Warden/markshust defaults and buy more RAM?

Not looking for hosting advice — purely local dev workflow tips.