mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-05 11:20:39 +08:00

This PR consists of improvements and fixes related to SigNoz in Docker Standalone and Docker Swarm. - Docker/Swarm deploy directory restructuring and improvements - Prometheus metrics scraping using labels in Docker Standalone and Docker Swarm - Swarm: single schema-migrator container for both sync/async migrations - Remove Kubernetes HOTRod files (will be migrated to charts) - Fetch histogram-quantile from release instead of local binary mount --------- Signed-off-by: Prashant Shahi <prashant@signoz.io>
39 lines
868 B
YAML
39 lines
868 B
YAML
version: "3"
|
|
x-common: &common
|
|
networks:
|
|
- signoz-net
|
|
extra_hosts:
|
|
- host.docker.internal:host-gateway
|
|
logging:
|
|
options:
|
|
max-size: 50m
|
|
max-file: "3"
|
|
deploy:
|
|
restart_policy:
|
|
condition: on-failure
|
|
services:
|
|
hotrod:
|
|
<<: *common
|
|
image: jaegertracing/example-hotrod:1.61.0
|
|
command: [ "all" ]
|
|
environment:
|
|
- OTEL_EXPORTER_OTLP_ENDPOINT=http://host.docker.internal:4318 #
|
|
load-hotrod:
|
|
<<: *common
|
|
image: "signoz/locust:1.2.3"
|
|
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
|
|
|
|
networks:
|
|
signoz-net:
|
|
name: signoz-net
|
|
external: true
|