diff --git a/VERSION b/VERSION index 097a15a2..ec1cf33c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.6.2 +2.6.3 diff --git a/docker/docker-compose.deployment.yml b/docker/docker-compose.deployment.yml index 92b59aef..f62855d1 100644 --- a/docker/docker-compose.deployment.yml +++ b/docker/docker-compose.deployment.yml @@ -3,5 +3,15 @@ services: entity-api: # Use the published image and tag from DockerHub image: hubmap/entity-api:${ENTITY_API_VERSION:?err} + # Setting CPU and Memory Limits - Zhou 10/9/2025 + deploy: + # PROD VM c5.4xlarge - 16 CPUs 32G RAM + resources: + limits: + cpus: '8' # 50% + memory: 19.2G # 60% + reservations: + cpus: '4' # 25% + memory: 12.8G # 40% diff --git a/docker/docker-compose.development.yml b/docker/docker-compose.development.yml index 3d2fa610..ccd14563 100644 --- a/docker/docker-compose.development.yml +++ b/docker/docker-compose.development.yml @@ -12,6 +12,16 @@ services: # Build the image with name and tag # Exit with an error message containing err if unset or empty in the environment image: hubmap/entity-api:${ENTITY_API_VERSION:?err} + # Setting CPU and Memory Limits - Zhou 10/9/2025 + deploy: + # DEV/TEST VM t3.xlarge - 4 CPUs 16G RAM + resources: + limits: + cpus: '2' # 50% + memory: 9.6G # 60% + reservations: + cpus: '1' # 25% + memory: 6.4G # 40% volumes: # Mount the VERSION file and BUILD file - "../VERSION:/usr/src/app/VERSION"