Some checks failed
Release / semantic-release (push) Successful in 26s
tests / Unit tests (Linux, Python 3.11) (push) Failing after 5m21s
Release / build-linux (push) Failing after 7m6s
Release / build-windows (push) Has been cancelled
Release / build-macos (arm64, macos-latest) (push) Has been cancelled
Release / build-macos (x64, macos-15-intel) (push) Has been cancelled
Release / release-main (push) Has been cancelled
Release / release-develop (push) Has been cancelled
Windows users following the docs hit "The system cannot find the file
specified" because COMPOSE_FILE's separator is OS-specific (':' collides
with the C: drive letter). Fix every Windows example to use ';', add an
explicit OS-separator warning in .env.example, README, DEPLOY.md and the
gpu-windows compose comment, and point users at the explicit `-f` form as
a separator-agnostic alternative.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
28 lines
940 B
YAML
28 lines
940 B
YAML
# GPU override for WINDOWS 11 (Docker Desktop + WSL2 + NVIDIA) and any host
|
|
# that exposes the GPU through Docker's portable device-reservation API rather
|
|
# than CDI. Requires the NVIDIA GPU driver on Windows and GPU support enabled in
|
|
# Docker Desktop (Settings → Resources → WSL Integration / GPU).
|
|
#
|
|
# docker compose -f docker-compose.yml -f docker-compose.gpu-windows.yml up -d
|
|
#
|
|
# Or set COMPOSE_FILE in .env (note the ";" separator on Windows — ":" collides
|
|
# with the C: drive letter and breaks file resolution):
|
|
# COMPOSE_FILE=docker-compose.yml;docker-compose.gpu-windows.yml
|
|
services:
|
|
ollama:
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities: [gpu]
|
|
javis:
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities: [gpu]
|