Skip to content

Commit

Permalink
Merge pull request #13 from US-JOET/resource-constraints-for-ocpp16-demo
Browse files Browse the repository at this point in the history
Impose resource constraints for the OCPP 1.6J demo
  • Loading branch information
shankari authored Dec 9, 2023
2 parents 331a5fe + 398c2d8 commit 8ac5989
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TAG=0.0.9
TAG=0.0.10

EVEREST_MANAGER_CPUS='1.0'
EVEREST_MANAGER_MEMORY='1024mb'
5 changes: 5 additions & 0 deletions docker-compose.ocpp16j.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ services:
manager:
image: ghcr.io/everest/everest-demo/manager:${TAG}
platform: linux/x86_64
deploy:
resources:
limits:
cpus: "${EVEREST_MANAGER_CPUS}"
memory: "${EVEREST_MANAGER_MEMORY}"
depends_on:
- mqtt-server
environment:
Expand Down

0 comments on commit 8ac5989

Please sign in to comment.