-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
100 lines (92 loc) · 1.88 KB
/
Copy pathdocker-compose.yml
File metadata and controls
100 lines (92 loc) · 1.88 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
version: '3.8'
services:
# Mail server for development
mailhog:
image: mailhog/mailhog:latest
container_name: mailhog
ports:
- "1025:1025" # SMTP
- "8025:8025" # Web UI
networks:
- emllm-network
# Bot that sends test emails
bot-generator:
build:
context: .
dockerfile: bot-generator/Dockerfile
container_name: bot-generator
user: root
security_opt:
- no-new-privileges:true
env_file: .env
depends_on:
- mailhog
networks:
- emllm-network
restart: unless-stopped
# Main processing service
camel-server:
build:
context: .
dockerfile: camel-server/Dockerfile
container_name: camel-server
user: root
security_opt:
- no-new-privileges:true
env_file: .env
depends_on:
- mailhog
- ollama
volumes:
- ./config:/app/config
networks:
- emllm-network
restart: unless-stopped
# Client that receives and deploys apps
client-agent:
build:
context: .
dockerfile: client-agent/Dockerfile
container_name: client-agent
user: root
security_opt:
- no-new-privileges:true
env_file: .env
depends_on:
- mailhog
volumes:
- ./deployment:/app/deployment
networks:
- emllm-network
restart: unless-stopped
# LLM service (optional)
ollama:
image: ollama/ollama:latest
container_name: ollama
ports:
- "11434:11434"
volumes:
- ollama_data:/root/.ollama
networks:
- emllm-network
# Web interface
web-client:
build:
context: .
dockerfile: web-client/Dockerfile
container_name: web-client
ports:
- "3000:3000"
env_file: .env
depends_on:
- mailhog
networks:
- emllm-network
restart: unless-stopped
networks:
emllm-network:
driver: bridge
volumes:
ollama_data:
config:
deployment: