Merge pull request #12 from madhura68/chore/m2-resources

chore(deploy): docker resources sizing for Apple M2 host
This commit is contained in:
Janpeter Visser 2026-05-06 08:08:19 +02:00 committed by GitHub
commit b189359672
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,16 +29,18 @@ services:
restart: unless-stopped restart: unless-stopped
# N5095 heeft 4 cores. Geef agent er 3, laat 1 voor QTS. # Apple M2 host (8 cores, ≥16 GB unified). Geef de agent royaal de
# Memory: 4GB is ruim voor één Claude Code sessie + één npm install. # ruimte voor parallelle npm/tsx/git-werk; macOS + Docker Desktop
# gebruiken zelf ook merkbaar geheugen, dus laat 4-8 GB over.
# Pas omlaag aan voor M2 base met 8 GB of omhoog voor M2 Pro/Max.
deploy: deploy:
resources: resources:
limits: limits:
cpus: "3.0" cpus: "6.0"
memory: 4g memory: 8g
reservations: reservations:
cpus: "0.5" cpus: "1.0"
memory: 512m memory: 1g
healthcheck: healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:8080/health"] test: ["CMD", "curl", "-fsS", "http://localhost:8080/health"]