feat(signoz): pin service image tags and exclude_from_hc flag to services excluded from health checks
This commit is contained in:
parent
15f35f8310
commit
0d11bdbfb6
1 changed files with 9 additions and 6 deletions
|
|
@ -21,13 +21,14 @@ services:
|
||||||
mkdir -p /var/lib/clickhouse/user_scripts/histogramQuantile
|
mkdir -p /var/lib/clickhouse/user_scripts/histogramQuantile
|
||||||
mv histogram-quantile /var/lib/clickhouse/user_scripts/histogramQuantile
|
mv histogram-quantile /var/lib/clickhouse/user_scripts/histogramQuantile
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
exclude_from_hc: true
|
||||||
logging:
|
logging:
|
||||||
options:
|
options:
|
||||||
max-size: 50m
|
max-size: 50m
|
||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
|
||||||
zookeeper:
|
zookeeper:
|
||||||
image: signoz/zookeeper:latest
|
image: signoz/zookeeper:3.9.3
|
||||||
user: root
|
user: root
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
|
|
@ -384,7 +385,7 @@ services:
|
||||||
</clickhouse>
|
</clickhouse>
|
||||||
|
|
||||||
signoz:
|
signoz:
|
||||||
image: signoz/signoz:latest
|
image: signoz/signoz:v0.97.1
|
||||||
depends_on:
|
depends_on:
|
||||||
clickhouse:
|
clickhouse:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
@ -462,7 +463,7 @@ services:
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
||||||
otel-collector:
|
otel-collector:
|
||||||
image: signoz/signoz-otel-collector:latest
|
image: signoz/signoz-otel-collector:v0.129.7
|
||||||
depends_on:
|
depends_on:
|
||||||
clickhouse:
|
clickhouse:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
@ -592,7 +593,7 @@ services:
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
||||||
schema-migrator-sync:
|
schema-migrator-sync:
|
||||||
image: signoz/signoz-schema-migrator:latest
|
image: signoz/signoz-schema-migrator:v0.129.7
|
||||||
command:
|
command:
|
||||||
- sync
|
- sync
|
||||||
- --dsn=tcp://clickhouse:9000
|
- --dsn=tcp://clickhouse:9000
|
||||||
|
|
@ -601,18 +602,21 @@ services:
|
||||||
clickhouse:
|
clickhouse:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
exclude_from_hc: true
|
||||||
logging:
|
logging:
|
||||||
options:
|
options:
|
||||||
max-size: 50m
|
max-size: 50m
|
||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
|
||||||
schema-migrator-async:
|
schema-migrator-async:
|
||||||
image: signoz/signoz-schema-migrator:latest
|
image: signoz/signoz-schema-migrator:v0.129.7
|
||||||
depends_on:
|
depends_on:
|
||||||
clickhouse:
|
clickhouse:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
schema-migrator-sync:
|
schema-migrator-sync:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
|
restart: on-failure
|
||||||
|
exclude_from_hc: true
|
||||||
logging:
|
logging:
|
||||||
options:
|
options:
|
||||||
max-size: 50m
|
max-size: 50m
|
||||||
|
|
@ -621,4 +625,3 @@ services:
|
||||||
- async
|
- async
|
||||||
- --dsn=tcp://clickhouse:9000
|
- --dsn=tcp://clickhouse:9000
|
||||||
- --up=
|
- --up=
|
||||||
restart: on-failure
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue