-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
47 lines (44 loc) · 902 Bytes
/
docker-compose.yml
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
46
47
services:
aider:
container_name: ao-core
depends_on:
- llm
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities:
- gpu
entrypoint: /bin/sh
environment:
AIDER_MODEL: ollama/${MODEL}
OLLAMA_API_BASE: http://llm:11434
image: paulgauthier/aider-full
networks:
- default
tty: true
user: 1000:1000
volumes:
- ${PROJECT_PATH}:/app
llm:
command: serve && ollama run ${MODEL}
container_name: ao-llm
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities:
- gpu
expose:
- 11434
image: ollama/ollama
networks:
- default
volumes:
- ./llm:/root/.ollama
networks:
default: