Files
EvoBGP/deploy/compose/docker-compose.microvps-full.yaml
T
DenozordecandCursor 5bdb1f1f93
quality / changes (push) Successful in 7s
quality / commitlint (push) Skipped
quality / docker-check (push) Skipped
quality / openapi (push) Successful in 43s
quality / web (push) Successful in 1m20s
quality / go (push) Failing after 1m9s
quality / bird2 (push) Skipped
quality / postgres-integration (push) Failing after 2m29s
quality / legacy-compatibility (1.0.0) (push) Successful in 1m14s
quality / legacy-compatibility (2.56.2) (push) Successful in 1m34s
CD / quality (push) Failing after 8m40s
CD / publish (push) Skipped
ci(deploy): narrow image build and document pool settings
Примеры Compose задают пул соединений. Контекст сборки бинарника сужен, зеркало базовых образов обновляется явно, алерты Prometheus дополнены.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-02 17:24:25 +07:00

69 lines
1.9 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Дополнительный файл Compose: профиль microvps-full + ресурсные лимиты.
#
# Запуск (PowerShell, из каталога deploy\compose): сначала .env из .env.example, docker login git.shx.one, docker compose pull
# docker compose -f docker-compose.yaml -f docker-compose.microvps-full.yaml --profile microvps-full up -d
#
# Остановка:
# docker compose -f docker-compose.yaml -f docker-compose.microvps-full.yaml --profile microvps-full down
#
# Сумма memory limits с edge и без optional NATS — 984M, это не замер потребления.
# Пригодность для хоста ~1 ГиБ требует workload-теста с запасом ОС/Docker и BIRD peaks.
# Postgres ниже ~240–256 МиБ часто не успевает пройти healthcheck / падает по памяти — не уменьшайте postgres без tuned postgresql.conf.
services:
evobgp-all:
environment:
EVOBGP_SERVICE: evobgp-all
EVOBGP_RUNTIME_LOGS_DIR: /opt/evobgp/runtime-logs
volumes:
- type: bind
source: ${EVOBGP_RUNTIME_LOGS_HOST_DIR:-./runtime-logs}
target: /opt/evobgp/runtime-logs
bind:
create_host_path: true
deploy:
resources:
limits:
cpus: "0.85"
memory: 280M
postgres:
deploy:
resources:
limits:
cpus: "0.45"
memory: 256M
bird2:
deploy:
resources:
limits:
memory: 96M
evobgp-agent:
deploy:
resources:
limits:
memory: 48M
nats:
deploy:
resources:
limits:
cpus: "0.2"
memory: 48M
evobgp-web-microvps:
deploy:
resources:
limits:
cpus: "0.3"
memory: 48M
prometheus-microvps:
deploy:
resources:
limits:
cpus: "0.25"
memory: 128M