-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 897 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
48 lines (45 loc) · 897 Bytes
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
name: chat_lumin
services:
streamlit-ui:
build: .
ports:
- "8501:8501"
networks:
- lumin-network
depends_on:
- redis
- ollama
redis:
image: redis:alpine3.18
ports:
- "6379:6379"
- '8001:8001'
networks:
- lumin-network
ollama:
image: ollama/ollama
ports:
- 11434:11434
volumes:
- ./data/ollama:/root/.ollama
- ./ollama-entrypoint.sh:/entrypoint.sh
container_name: ollama
pull_policy: always
tty: true
restart: always
entrypoint: ["/usr/bin/bash", "/entrypoint.sh"]
environment:
- gpus=all
deploy:
resources:
reservations:
memory: 4096m
devices:
- driver: nvidia
capabilities: ["gpu"]
count: all
networks:
- lumin-network
networks:
lumin-network:
driver: bridge