generated from Trust4AI/trust4ai-component-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (57 loc) · 1.26 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
version: '3'
services:
server:
container_name: genie
image: genie:latest
build:
context: .
dockerfile: Dockerfile
ports:
- ${PORT:-8081}:${PORT:-8081}
env_file:
- .env
networks:
- genie-network
# llama3-8b:
# container_name: llama3-8b
# image: llama3-8b:latest
# build:
# context: ./Ollama
# dockerfile: Dockerfile.predefined-model
# args:
# MODEL_NAME: "llama3:8b"
# volumes:
# - llama3-8b_data:/root/.ollama
# networks:
# - genie-network
# gemma-7b:
# container_name: gemma-7b
# image: gemma-7b:latest
# build:
# context: ./Ollama
# dockerfile: Dockerfile.predefined-model
# args:
# MODEL_NAME: "gemma:7b"
# volumes:
# - gemma-7b_data:/root/.ollama
# networks:
# - genie-network
# mistral-7b:
# container_name: mistral-7b
# image: mistral-7b:latest
# build:
# context: ./Ollama
# dockerfile: Dockerfile.predefined-model
# args:
# MODEL_NAME: "mistral:7b"
# volumes:
# - mistral-7b_data:/root/.ollama
# networks:
# - genie-network
# volumes:
# llama3-8b_data:
# gemma-7b_data:
# mistral-7b_data:
networks:
genie-network:
driver: bridge