mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-30 10:52:15 +00:00
Move all 6 Docker files (Dockerfile, Dockerfile.gpu, Dockerfile.gpu.rocm, Dockerfile.sandbox, docker-compose.yml, docker-compose.gpu.rocm.yml) from the project root into deploy/docker/ to reduce root-level clutter. Update build context paths in both docker-compose files to point back to the project root (../..) so Docker builds continue to work correctly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
27 lines
483 B
YAML
27 lines
483 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
jarvis:
|
|
build:
|
|
context: ../..
|
|
dockerfile: deploy/docker/Dockerfile
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
- OPENJARVIS_ENGINE_DEFAULT=ollama
|
|
- OPENJARVIS_OLLAMA_HOST=http://ollama:11434
|
|
depends_on:
|
|
- ollama
|
|
restart: unless-stopped
|
|
|
|
ollama:
|
|
image: ollama/ollama
|
|
ports:
|
|
- "11434:11434"
|
|
volumes:
|
|
- ollama-models:/root/.ollama
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
ollama-models:
|