2021-06-03 20:54:41 +05:30
version : "2.4"
services :
clickhouse :
2022-01-27 22:34:26 +05:30
image : yandex/clickhouse-server:21.12.3.32
volumes :
- ./clickhouse-config.xml:/etc/clickhouse-server/config.xml
- ./data/clickhouse/:/var/lib/clickhouse/
healthcheck :
# "clickhouse", "client", "-u ${CLICKHOUSE_USER}", "--password ${CLICKHOUSE_PASSWORD}", "-q 'SELECT 1'"
test : [ "CMD" , "wget" , "--spider" , "-q" , "localhost:8123/ping" ]
interval : 30s
timeout : 5s
retries : 3
2021-06-03 20:54:41 +05:30
2021-11-22 16:15:58 +05:30
alertmanager :
image : signoz/alertmanager:0.5.0
volumes :
- ./alertmanager.yml:/prometheus/alertmanager.yml
- ./data/alertmanager:/data
command :
- '--config.file=/prometheus/alertmanager.yml'
- '--storage.path=/data'
2022-02-08 10:27:52 +05:30
# Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md`
2021-06-03 20:54:41 +05:30
query-service :
2022-03-04 13:23:30 +05:30
image : signoz/query-service:0.7.1
2021-06-03 20:54:41 +05:30
container_name : query-service
2021-08-29 10:28:40 +05:30
command : [ "-config=/root/config/prometheus.yml" ]
volumes :
- ./prometheus.yml:/root/config/prometheus.yml
2021-09-02 13:18:47 +05:30
- ../dashboards:/root/config/dashboards
2021-09-28 18:14:12 +05:30
- ./data/signoz/:/var/lib/signoz/
2021-06-03 20:54:41 +05:30
environment :
- ClickHouseUrl=tcp://clickhouse:9000
- STORAGE=clickhouse
2021-09-24 16:51:13 +05:30
- GODEBUG=netdns=go
2022-01-26 21:40:44 +05:30
- TELEMETRY_ENABLED=true
2021-06-03 20:54:41 +05:30
depends_on :
clickhouse :
condition : service_healthy
2022-01-27 22:34:26 +05:30
2021-06-03 20:54:41 +05:30
frontend :
2022-03-04 13:23:30 +05:30
image : signoz/frontend:0.7.1
2021-06-03 20:54:41 +05:30
container_name : frontend
depends_on :
- query-service
ports :
2022-02-08 22:47:06 +05:30
- "3301:3301"
2021-06-03 20:54:41 +05:30
volumes :
- ../common/nginx-config.conf:/etc/nginx/conf.d/default.conf
otel-collector :
2022-03-03 13:23:49 +05:30
image : signoz/otelcontribcol:0.43.0
command : [ "--config=/etc/otel-collector-config.yaml" ]
2021-06-03 20:54:41 +05:30
volumes :
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports :
- "4317:4317" # OTLP GRPC receiver
2021-12-15 00:04:55 +05:30
mem_limit : 2000m
restart : always
2021-06-03 20:54:41 +05:30
depends_on :
clickhouse :
condition : service_healthy
2021-10-20 09:28:47 +05:30
otel-collector-metrics :
2022-03-03 19:59:55 +05:30
image : signoz/otelcontribcol:0.43.0
command : [ "--config=/etc/otel-collector-metrics-config.yaml" ]
2021-10-20 09:28:47 +05:30
volumes :
- ./otel-collector-metrics-config.yaml:/etc/otel-collector-metrics-config.yaml
depends_on :
clickhouse :
condition : service_healthy
2022-01-27 22:34:26 +05:30
2021-06-03 20:54:41 +05:30
hotrod :
2022-01-27 22:34:26 +05:30
image : jaegertracing/example-hotrod:1.30
2021-06-03 20:54:41 +05:30
container_name : hotrod
2022-01-30 23:39:06 +05:30
logging :
options :
max-size : 50m
2022-02-02 03:40:11 +05:30
max-file : "3"
2021-06-03 20:54:41 +05:30
command : [ "all" ]
environment :
2022-01-30 23:39:06 +05:30
- JAEGER_ENDPOINT=http://otel-collector:14268/api/traces
2021-06-03 20:54:41 +05:30
load-hotrod :
image : "grubykarol/locust:1.2.3-python3.9-alpine3.12"
container_name : load-hotrod
hostname : load-hotrod
environment :
ATTACKED_HOST : http://hotrod:8080
LOCUST_MODE : standalone
NO_PROXY : standalone
TASK_DELAY_FROM : 5
TASK_DELAY_TO : 30
QUIET_MODE : "${QUIET_MODE:-false}"
LOCUST_OPTS : "--headless -u 10 -r 1"
volumes :
2022-01-21 00:31:58 +05:30
- ../common/locust-scripts:/locust