fix: adjust Postgres resource limits and healthcheck parameters. Increase memory limit to 256M and modify healthcheck retries and start period to improve stability. Add notes on shared memory requirements and healthcheck behavior in Docker configuration.

This commit is contained in:
Denozordec
2026-04-06 13:50:48 +07:00
parent 07f2ce562e
commit 20e674c1f2
3 changed files with 176 additions and 2 deletions
@@ -7,6 +7,7 @@
# docker compose -f docker-compose.yaml -f docker-compose.microvps-full.yaml --profile microvps-full down
#
# Лимиты под хост ~1 ГиБ: сумма лимитов контейнеров ~800 МиБ + запас ОС/Docker. При OOM увеличьте RAM VPS или уберите prometheus/nats из профиля (отдельная правка compose).
# Postgres ниже ~240–256 МиБ часто не успевает пройти healthcheck / падает по памяти — не уменьшайте postgres без tuned postgresql.conf.
services:
evobgp-all:
@@ -23,7 +24,7 @@ services:
resources:
limits:
cpus: "0.45"
memory: 180M
memory: 256M
bird2:
deploy: