version: "3.8" services: rate-limit: build: context: . ports: - "3000:3000" environment: - PORT=3000 - DEBUG=rate-limit* - OTEL_EXPORTER_OTLP_ENDPOINT=http://jaeger:4318/v1/traces - HASURA_DDN_PLUGIN_CONFIG_PATH=sample_config depends_on: redis: condition: service_healthy healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3001/health"] interval: 30s timeout: 10s retries: 3 volumes: - ./sample_config:/app/sample_config redis: image: redis:latest ports: - "6379:6379" volumes: - redis_data:/data command: redis-server --appendonly yes healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 5s timeout: 3s retries: 3 jaeger: image: jaegertracing/all-in-one:1.55 restart: always ports: - 5775:5775/udp - 6831:6831/udp - 6832:6832/udp - 5778:5778 - 4002:16686 - 14250:14250 - 14268:14268 - 14269:14269 - 4317:4317 # OTLP gRPC - 4318:4318 # OTLP HTTP - 9411:9411 - 16686:16686 environment: COLLECTOR_OTLP_ENABLED: "true" COLLECTOR_ZIPKIN_HOST_PORT: "9411" volumes: redis_data: