-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
36 lines (32 loc) · 864 Bytes
/
compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# version: '3.7'
services:
agentic_ai:
build:
context: ~/repos/agentic-ai
dockerfile: Dockerfile
container_name: agentic_ai
# depends_on:
# - ollama
ports:
- 11223:11223
volumes:
- /Users/excalibur/repos:/workspace/repos
- /Users/excalibur/data:/workspace/data
restart: unless-stopped
stop_grace_period: 1m
command: >
/bin/bash -c "jupyter-notebook --ip=* --port=11223 --no-browser --allow-root"
# ollama:
# container_name: ollama
# image: ollama/ollama:latest
# volumes:
# - ./ollama:/root/.ollama
# environment:
# - "OLLAMA_HOST=0.0.0.0:11434"
# - "OLLAMA_ORIGINS=http://0.0.0.0:11434"
# ports:
# - 11434:11434
# command: >
# /bin/bash -c "ollama pull qwen2:1.5b"
# environment:
# - TORCH_CUDA_ARCH_LIST="6.1"