From abaf933971083e260f600a4ffb1dbdb291728abd Mon Sep 17 00:00:00 2001 From: chrislu Date: Sat, 22 Nov 2025 14:08:20 -0800 Subject: [PATCH] fix: add publicUrl to volume server for host network access - Add -publicUrl=localhost:8080 to volume server command - Ensures filer returns localhost URL instead of Docker service name - Fixes UnknownHostException when tests run on host network - Volume server is accessible via localhost from CI runner --- test/java/spark/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/java/spark/docker-compose.yml b/test/java/spark/docker-compose.yml index c3ffd9734..3e77d0e0a 100644 --- a/test/java/spark/docker-compose.yml +++ b/test/java/spark/docker-compose.yml @@ -27,7 +27,7 @@ services: ports: - "8080:8080" - "18080:18080" - command: "volume -mserver=seaweedfs-master:9333 -ip=seaweedfs-volume -ip.bind=0.0.0.0 -port=8080 -port.grpc=18080 -preStopSeconds=1" + command: "volume -mserver=seaweedfs-master:9333 -ip=seaweedfs-volume -ip.bind=0.0.0.0 -port=8080 -port.grpc=18080 -publicUrl=localhost:8080 -preStopSeconds=1" depends_on: seaweedfs-master: condition: service_healthy