Use model cache for docker compose test (#1582)

Signed-off-by: ZePan110 <ze.pan@intel.com>
This commit is contained in:
ZePan110
2025-03-04 09:48:27 +08:00
committed by GitHub
parent ce38a84372
commit e4de76da78
28 changed files with 61 additions and 31 deletions

View File

@@ -38,7 +38,7 @@ services:
ports:
- "6006:80"
volumes:
- "./data:/data"
- "${MODEL_CACHE}:/data"
shm_size: 1g
environment:
no_proxy: ${no_proxy}
@@ -96,7 +96,7 @@ services:
ports:
- "8808:80"
volumes:
- "./data:/data"
- "${MODEL_CACHE}:/data"
shm_size: 1g
environment:
no_proxy: ${no_proxy}

View File

@@ -36,7 +36,7 @@ services:
ports:
- "6006:80"
volumes:
- "/mnt/models:/data"
- "${MODEL_CACHE:-/mnt/models}:/data"
shm_size: 1g
environment:
no_proxy: ${no_proxy}

View File

@@ -34,7 +34,7 @@ services:
ports:
- "8090:80"
volumes:
- "./data:/data"
- "${MODEL_CACHE}:/data"
runtime: habana
cap_add:
- SYS_NICE
@@ -95,7 +95,7 @@ services:
ports:
- "8808:80"
volumes:
- "./data:/data"
- "${MODEL_CACHE}:/data"
shm_size: 1g
environment:
no_proxy: ${no_proxy}