mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	feat: add docker compose entry for drainer service (#504)
This commit is contained in:
		| @ -213,3 +213,26 @@ services: | ||||
|       - "3200" # tempo | ||||
|       - "4317" # otlp grpc | ||||
|     restart: unless-stopped | ||||
|   hyperswitch-drainer: | ||||
|     image: rust:1.65 | ||||
|     command: cargo run --bin drainer -- -f ./config/docker_compose.toml | ||||
|     working_dir: /app | ||||
|     deploy: | ||||
|       replicas: ${DRAINER_INSTANCE_COUNT:-1} | ||||
|     networks: | ||||
|       - router_net | ||||
|     profiles: | ||||
|       - full_kv | ||||
|     volumes: | ||||
|       - ./:/app | ||||
|       - cargo_cache:/cargo_cache | ||||
|       - cargo_build_cache:/cargo_build_cache | ||||
|     environment: | ||||
|       - CARGO_TARGET_DIR=/cargo_build_cache | ||||
|       - OTEL_EXPORTER_OTLP_ENDPOINT=https://otel-collector:4317 | ||||
|     restart: unless-stopped | ||||
|     depends_on: | ||||
|       hyperswitch-server: | ||||
|         condition: service_healthy | ||||
|     labels: | ||||
|       logs: "promtail" | ||||
		Reference in New Issue
	
	Block a user
	 Nishant Joshi
					Nishant Joshi