Skip to content

Commit a985f0e

Browse files
committed
chore(ci, memory-infra): update production configuration
1 parent 9ac0594 commit a985f0e

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/build-push-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Push to ECR - Production
1+
name: Build and Push to ECR
22

33
on:
44
workflow_run:

.github/workflows/deploy-prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Deploy to OnPremise - Production
1+
name: Deploy to OnPremise
22

33
on:
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 ]

memory-infra/docker/prod/onPromise/docker-compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)