mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 07:45:55 +08:00
restarting pods set-retention and create-supervisor on failure
This commit is contained in:
parent
67125542a9
commit
6d50599ba0
@ -136,7 +136,6 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- environment
|
- environment
|
||||||
|
|
||||||
|
|
||||||
flatten-processor:
|
flatten-processor:
|
||||||
image: signoz/flattener-processor:0.1.1
|
image: signoz/flattener-processor:0.1.1
|
||||||
container_name: flattener-processor
|
container_name: flattener-processor
|
||||||
@ -190,7 +189,9 @@ services:
|
|||||||
- "curl -X POST -H 'Content-Type: application/json' -d @/app/supervisor-spec.json http://router:8888/druid/indexer/v1/supervisor"
|
- "curl -X POST -H 'Content-Type: application/json' -d @/app/supervisor-spec.json http://router:8888/druid/indexer/v1/supervisor"
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- router
|
- router
|
||||||
|
restart: on-failure:6
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./druid-jobs/supervisor-spec.json:/app/supervisor-spec.json
|
- ./druid-jobs/supervisor-spec.json:/app/supervisor-spec.json
|
||||||
|
|
||||||
@ -204,7 +205,8 @@ services:
|
|||||||
- "curl -X POST -H 'Content-Type: application/json' -d @/app/retention-spec.json http://router:8888/druid/coordinator/v1/rules/flattened_spans"
|
- "curl -X POST -H 'Content-Type: application/json' -d @/app/retention-spec.json http://router:8888/druid/coordinator/v1/rules/flattened_spans"
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- router
|
- router
|
||||||
|
restart: on-failure:6
|
||||||
volumes:
|
volumes:
|
||||||
- ./druid-jobs/retention-spec.json:/app/retention-spec.json
|
- ./druid-jobs/retention-spec.json:/app/retention-spec.json
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user