Move performance resources to env file.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user