File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed
Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1- 2.6.2
1+ 2.6.3
Original file line number Diff line number Diff line change @@ -3,5 +3,15 @@ services:
33 entity-api :
44 # Use the published image and tag from DockerHub
55 image : hubmap/entity-api:${ENTITY_API_VERSION:?err}
6+ # Setting CPU and Memory Limits - Zhou 10/9/2025
7+ deploy :
8+ # PROD VM c5.4xlarge - 16 CPUs 32G RAM
9+ resources :
10+ limits :
11+ cpus : ' 8' # 50%
12+ memory : 19.2G # 60%
13+ reservations :
14+ cpus : ' 4' # 25%
15+ memory : 12.8G # 40%
616
717
Original file line number Diff line number Diff line change @@ -12,6 +12,16 @@ services:
1212 # Build the image with name and tag
1313 # Exit with an error message containing err if unset or empty in the environment
1414 image : hubmap/entity-api:${ENTITY_API_VERSION:?err}
15+ # Setting CPU and Memory Limits - Zhou 10/9/2025
16+ deploy :
17+ # DEV/TEST VM t3.xlarge - 4 CPUs 16G RAM
18+ resources :
19+ limits :
20+ cpus : ' 2' # 50%
21+ memory : 9.6G # 60%
22+ reservations :
23+ cpus : ' 1' # 25%
24+ memory : 6.4G # 40%
1525 volumes :
1626 # Mount the VERSION file and BUILD file
1727 - " ../VERSION:/usr/src/app/VERSION"
You can’t perform that action at this time.
0 commit comments