Move performance resources to env file.

This commit is contained in:
2025-10-30 07:05:31 -07:00
parent c607fe1968
commit 12bf792e65
2 changed files with 12 additions and 4 deletions

View File

@@ -16,6 +16,8 @@ services:
- BRANCH=$BRANCH
- PROD=$PROD
- DEV=$DEV
- CPU=$CPU
- MEM=$MEM
healthcheck:
test: curl -sS http://localhost:80 || curl -sS http://localhost:1380 || exit 1
interval: 1m
@@ -26,5 +28,5 @@ services:
mode: global
resources:
limits:
cpus: '0.10'
memory: 64M
cpus: $CPU
memory: $MEM