feat(docker-compose): добавлены параметры для fluentd async. Добавлены правила для последовательного разворачивания API.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user