Skip to content

Commit 53f52b1

Browse files
authored
fix: docker compose testing profile with mock-vllm failed to IPv4 validation (#219)
* add IPv4 address for mock-vllm Signed-off-by: JaredforReal <[email protected]> * use online/hf-cache for all-MiniLM Signed-off-by: JaredforReal <[email protected]> --------- Signed-off-by: JaredforReal <[email protected]>
1 parent c92a6a5 commit 53f52b1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

config/config.testing.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ prompt_guard:
2828

2929
vllm_endpoints:
3030
- name: "mock"
31-
address: "mock-vllm"
31+
address: "172.28.0.10"
3232
port: 8000
3333
models:
3434
- "openai/gpt-oss-20b"

docker-compose.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ services:
5555
ports:
5656
- "8000:8000"
5757
networks:
58-
- semantic-network
58+
semantic-network:
59+
ipv4_address: 172.28.0.10
5960
healthcheck:
6061
test: ["CMD", "curl", "-fsS", "http://localhost:8000/health"]
6162
interval: 10s
@@ -66,6 +67,9 @@ services:
6667
networks:
6768
semantic-network:
6869
driver: bridge
70+
ipam:
71+
config:
72+
- subnet: 172.28.0.0/16
6973

7074
volumes:
7175
models-cache:

0 commit comments

Comments
 (0)