File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
memory-infra/docker/prod/onPromise Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1- name : Build and Push to ECR - Production
1+ name : Build and Push to ECR
22
33on :
44 workflow_run :
Original file line number Diff line number Diff line change 1- name : Deploy to OnPremise - Production
1+ name : Deploy to OnPremise
22
33on :
44 workflow_run :
5- workflows : ["Build and Push to ECR - Production "]
5+ workflows : ["Build and Push to ECR"]
66 types :
77 - completed
88 branches : [ main ]
Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ services:
6666 deploy :
6767 resources :
6868 limits :
69- memory : 750M
69+ memory : 10G
7070 reservations :
71- memory : 250M
71+ memory : 2G
7272 environment :
7373 SPRING_PROFILES_ACTIVE : prod
7474 SPRING_DATASOURCE_URL : ${DB_URL}
@@ -83,6 +83,7 @@ services:
8383 SPRING_ELASTICSEARCH_URIS : ${ELASTIC_URIS}
8484 SPRING_ELASTICSEARCH_USERNAME : elastic
8585 SPRING_ELASTICSEARCH_PASSWORD : ${ELASTIC_PASSWORD}
86+ JAVA_OPTS : " -Xms2g -Xmx8g -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:+UseStringDeduplication -XX:G1HeapRegionSize=16m"
8687 networks :
8788 - memory-network-prod
8889 restart : always
You can’t perform that action at this time.
0 commit comments