feat(docker-compose): добавлены параметры для fluentd async. Добавлены правила для последовательного разворачивания API.

This commit is contained in:
Mikhail Trubnikov
2025-11-17 16:10:21 +10:00
parent 4cb7f2f6d6
commit 806cd19861
17 changed files with 74 additions and 18 deletions

View File

@@ -19,13 +19,32 @@ services:
driver: fluentd
options:
fluentd-address: dvgd-efk-01.dvgd.oao.rzd:24224
fluentd-retry-wait: '30s'
fluentd-retry-wait: '10s'
fluentd-max-retries: '30'
fluentd-async: 'true'
fluentd-buffer-limit: '52428800'
tag: parr.api.serilog
deploy:
replicas: 4
networks:
parr-network:
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/api/v1/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 120s
deploy:
replicas: 4
update_config:
parallelism: 1
delay: 5s
order: start-first
failure_action: rollback
rollback_config:
parallelism: 1
order: stop-first
restart_policy:
condition: any
window: 120s
# REDIS STACK
parr-redis: