Skip to content

Commit 88e588c

Browse files
committedNov 9, 2022
Aumenta memoria y config de healtcheck
1 parent bdb8cf8 commit 88e588c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎deploy/docker-compose.dev.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
resources:
99
limits:
1010
cpus: '${RESOURCES_LIMITS_CPUS:-0.5}'
11-
memory: ${RESOURCES_LIMITS_MEMORY:-512M}
11+
memory: ${RESOURCES_LIMITS_MEMORY:-1G}
1212
reservations:
1313
cpus: '${RESOURCES_RESERVATIONS_CPUS:-0.001}'
14-
memory: ${RESOURCES_RESERVATIONS_MEMORY:-410M}
14+
memory: ${RESOURCES_RESERVATIONS_MEMORY:-820M}

‎deploy/docker-compose.tmpl.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ services:
2626
test: wget --spider -q http://localhost:${MICROSERVICE_PORT}/api/${MICROSERVICE_NAME}/actuator/health
2727
interval: ${HEALTHCHECK_INTERVAL:-30s}
2828
timeout: ${HEALTHCHECK_TIMEOUT:-10s}
29-
retries: ${HEALTHCHECK_RETRIES:-3}
30-
start_period: ${HEALTHCHECK_START_PERIOD:-2m}
29+
retries: ${HEALTHCHECK_RETRIES:-10}
30+
start_period: ${HEALTHCHECK_START_PERIOD:-5m}
3131
deploy:
3232
mode: replicated
3333
replicas: ${REPLICAS:-1}

0 commit comments

Comments
 (0)
Please sign in to comment.