-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (43 loc) · 1.26 KB
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (43 loc) · 1.26 KB
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
37
38
39
40
41
42
43
44
45
services:
yolomatic:
image: yolomatic-control-plane:latest
build:
context: .
dockerfile: Dockerfile
target: runtime
container_name: yolomatic
restart: unless-stopped
ports:
- "127.0.0.1:6767:6767"
env_file:
- .env
environment:
OLLAMA_HOST: http://127.0.0.1:11434
YOLO_WORKER_CONTROL_BASE_URL: http://127.0.0.1:6767
YOLO_WORKER_DOCKER_NETWORK_MODE: container:yolomatic
YOLO_WORKER_RUNTIME_DIR: /app/runtime
YOLO_WORKER_RUNTIME_MOUNT_SOURCE: yolomatic_runtime
YOLO_WORKER_WORKSPACE_MOUNT_SOURCE: yolomatic_workspaces
YOLO_WORKER_OLLAMA_HOST: http://127.0.0.1:11434
group_add:
- "${DOCKER_GID:-999}"
volumes:
- yolomatic_sessions:/app/sessions
- yolomatic_workspaces:/app/workspaces
- yolomatic_pi:/home/yolomatic/.pi/agent
- yolomatic_memory:/app/memory
- yolomatic_runtime:/app/runtime
- /var/run/docker.sock:/var/run/docker.sock
ollama:
image: alpine/ollama:0.20.5
container_name: yolomatic-ollama
network_mode: "service:yolomatic"
restart: unless-stopped
volumes:
- ${HOME}/.ollama:/root/.ollama
volumes:
yolomatic_sessions:
yolomatic_workspaces:
yolomatic_pi:
yolomatic_memory:
yolomatic_runtime: