-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
82 lines (73 loc) · 1.39 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
version: "3.8"
services:
gateway:
build: ./gateway
hostname: gateway
ports:
- "8080:8080"
networks:
- net
restart: unless-stopped
middleware:
build: ./middleware
container_name: middleware
hostname: middleware
networks:
- net
restart: unless-stopped
web-scraper:
build: ./web_scraper
container_name: web-scraper
hostname: web_scraper
networks:
- net
restart: unless-stopped
manager-ollama:
build: ./manager_ollama
container_name: manager-ollama
hostname: manager-ollama
networks:
- net
restart: unless-stopped
ollama:
image: ollama/ollama
container_name: ollama
hostname: ollama
volumes:
- ollama_data:/root/.ollama
networks:
- net
restart: unless-stopped
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
portainer:
image: portainer/portainer-ce:latest
ports:
- 9443:9443
volumes:
- data:/data
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
ui:
build: ./UI
container_name: ui
hostname: ui
ports:
- "80:80"
networks:
- net
restart: unless-stopped
volumes:
cache:
driver: local
ollama_data:
driver: local
data:
networks:
net:
driver: bridge