2022-01-27 22:34:26 +05:30
version : "2.4"
services :
clickhouse :
image : altinity/clickhouse-server:21.12.3.32.altinitydev.arm
2022-04-06 00:05:05 +05:30
# ports:
# - "9000:9000"
# - "8123:8123"
2022-01-27 22:34:26 +05:30
volumes :
- ./clickhouse-config.xml:/etc/clickhouse-server/config.xml
- ./data/clickhouse/:/var/lib/clickhouse/
2022-03-21 20:43:43 +05:30
restart : on -failure
2022-04-06 00:05:05 +05:30
logging :
options :
max-size : 50m
max-file : "3"
2022-01-27 22:34:26 +05:30
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
alertmanager :
2022-04-06 00:19:13 +05:30
image : signoz/alertmanager:0.6.1
2022-01-27 22:34:26 +05:30
volumes :
- ./data/alertmanager:/data
2022-03-29 22:59:32 +05:30
depends_on :
2022-04-06 00:05:05 +05:30
query-service :
condition : service_healthy
restart : on -failure
2022-01-27 22:34:26 +05:30
command :
2022-03-29 22:59:32 +05:30
- --queryService.url=http://query-service:8080
- --storage.path=/data
2022-01-27 22:34:26 +05:30
2022-05-03 11:20:57 +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`
2022-01-27 22:34:26 +05:30
query-service :
2022-04-06 00:19:13 +05:30
image : signoz/query-service:0.7.5
2022-01-27 22:34:26 +05:30
container_name : query-service
command : [ "-config=/root/config/prometheus.yml" ]
volumes :
- ./prometheus.yml:/root/config/prometheus.yml
- ../dashboards:/root/config/dashboards
- ./data/signoz/:/var/lib/signoz/
environment :
2022-05-03 11:20:57 +05:30
- ClickHouseUrl=tcp://clickhouse:9000/?database=signoz_traces
2022-01-27 22:34:26 +05:30
- STORAGE=clickhouse
- GODEBUG=netdns=go
- TELEMETRY_ENABLED=true
2022-03-21 20:39:53 +05:30
- DEPLOYMENT_TYPE=docker-standalone-arm
2022-03-21 20:43:43 +05:30
2022-03-21 20:39:53 +05:30
restart : on -failure
2022-04-06 00:05:05 +05:30
healthcheck :
test : [ "CMD" , "wget" , "--spider" , "-q" , "localhost:8080/api/v1/version" ]
interval : 30s
timeout : 5s
retries : 3
2022-01-27 22:34:26 +05:30
depends_on :
clickhouse :
condition : service_healthy
frontend :
2022-04-06 00:19:13 +05:30
image : signoz/frontend:0.7.5
2022-01-27 22:34:26 +05:30
container_name : frontend
2022-04-06 00:52:48 +05:30
restart : on -failure
2022-01-27 22:34:26 +05:30
depends_on :
2022-04-06 00:52:48 +05:30
- alertmanager
2022-01-27 22:34:26 +05:30
- query-service
ports :
2022-02-08 22:47:06 +05:30
- "3301:3301"
2022-01-27 22:34:26 +05:30
volumes :
- ../common/nginx-config.conf:/etc/nginx/conf.d/default.conf
otel-collector :
2022-05-03 11:20:57 +05:30
image : signoz/otelcontribcol:trace-optimized-v1
2022-03-03 13:23:49 +05:30
command : [ "--config=/etc/otel-collector-config.yaml" ]
2022-01-27 22:34:26 +05:30
volumes :
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports :
2022-03-21 20:43:43 +05:30
- "4317:4317" # OTLP gRPC receiver
- "4318:4318" # OTLP HTTP receiver
# - "8889:8889" # Prometheus metrics exposed by the agent
# - "13133" # health_check
# - "14268:14268" # Jaeger receiver
# - "55678:55678" # OpenCensus receiver
# - "55679:55679" # zpages extension
2022-03-29 22:59:32 +05:30
# - "55680:55680" # OTLP gRPC legacy receiver
2022-03-21 20:43:43 +05:30
# - "55681:55681" # OTLP HTTP legacy receiver
2022-01-27 22:34:26 +05:30
mem_limit : 2000m
2022-03-21 20:43:43 +05:30
restart : on -failure
2022-01-27 22:34:26 +05:30
depends_on :
clickhouse :
condition : service_healthy
otel-collector-metrics :
2022-05-03 11:20:57 +05:30
image : signoz/otelcontribcol:trace-optimized-v1
2022-03-03 13:23:49 +05:30
command : [ "--config=/etc/otel-collector-metrics-config.yaml" ]
2022-01-27 22:34:26 +05:30
volumes :
- ./otel-collector-metrics-config.yaml:/etc/otel-collector-metrics-config.yaml
2022-03-21 20:43:43 +05:30
restart : on -failure
2022-01-27 22:34:26 +05:30
depends_on :
clickhouse :
condition : service_healthy
hotrod :
image : jaegertracing/example-hotrod:1.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"
2022-01-27 22:34:26 +05:30
command : [ "all" ]
environment :
2022-03-29 22:59:32 +05:30
- JAEGER_ENDPOINT=http://otel-collector:14268/api/traces
2022-01-27 22:34:26 +05:30
2022-05-03 11:20:57 +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:
# - ../common/locust-scripts:/locust