-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompose.yml
43 lines (42 loc) · 864 Bytes
/
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
version: '3'
services:
app:
build:
context: ./app
environment:
- SLAM_ADMIN_USERNAME=admin
- SLAM_ADMIN_PASSWORD=admin
- ACTION_SERVER_URL=http://engine:8000
- OLLAMA_SERVER_URL=http://ollama:11434
ports:
- 8501:8501
volumes:
- ./results:/app/results
networks:
- slam-network
engine:
build:
context: ./engine
environment:
- OLLAMA_SERVER_URL=http://ollama:11434
- OPENAI_API_KEY=sk-1234567890
ports:
- 8000:8000
networks:
- slam-network
ollama:
image: ollama/ollama:latest
ports:
- 11434:11434
networks:
- slam-network
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
networks:
slam-network:
driver: bridge