-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·164 lines (150 loc) · 3.72 KB
/
docker-compose.yml
File metadata and controls
executable file
·164 lines (150 loc) · 3.72 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
version: '3.8'
services:
llm-orchestrator:
build:
context: ./containers/llm-orchestrator
container_name: llm-orchestrator
volumes:
- ./volumes/models:/app/models
- ./volumes/config:/app/config
- ./volumes/cv:/app/cv:ro
environment:
- NVIDIA_VISIBLE_DEVICES=all
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
ports:
- "5000:5000" # API LLM
networks:
- autoformfiller-network
browser-service:
build:
context: ./containers/browser-service
container_name: browser-service
ports:
- "5001:5001"
volumes:
- ./volumes/cv:/app/cv:ro
- ./volumes/config:/app/config
- ./volumes/passwords:/app/passwords
- ./volumes/recordings:/app/recordings
environment:
- DISPLAY=:99
- VNC_RESOLUTION=1920x1080
- VNC_COL_DEPTH=24
networks:
- autoformfiller-network
depends_on:
- llm-orchestrator
novnc:
build:
context: ./containers/novnc
container_name: novnc
ports:
- "8080:8080" # noVNC web interface
networks:
- autoformfiller-network
depends_on:
- browser-service
environment:
- VNC_HOST=browser-service
- VNC_PORT=5900
- NOVNC_OPTS=--compression=9 --quality=3
web-terminal:
build:
context: ./containers/web-terminal
container_name: web-terminal
ports:
- "8081:7681" # Web terminal
volumes:
- ./volumes:/volumes
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- autoformfiller-network
depends_on:
- llm-orchestrator
- browser-service
web-interface:
build:
context: ./containers/web-interface
container_name: web-interface
ports:
- "8082:80" # HTTP redirect
- "8443:443" # HTTPS for Web Speech API
networks:
- autoformfiller-network
depends_on:
- llm-orchestrator
- novnc
- web-voice-api
web-voice-api:
build:
context: ./containers/web-voice-api
container_name: web-voice-api
ports:
- "6000:6000" # API for voice recognition
networks:
- autoformfiller-network
depends_on:
- llm-orchestrator
volumes:
- ./volumes/audio:/app/audio
test-forms-server:
build:
context: ./containers/test-forms-server
container_name: test-forms-server
ports:
- "8090:80" # Test forms webserver
volumes:
- ./containers/test-forms-server/forms:/usr/share/nginx/html/forms
networks:
- autoformfiller-network
test-runner:
build:
context: ./containers/test-runner
container_name: test-runner
volumes:
- ./volumes:/volumes
networks:
- autoformfiller-network
depends_on:
- test-forms-server
- browser-service
- llm-orchestrator
# Po zbudowaniu kontener jest zatrzymany - uruchamiamy go ręcznie do testów
command: sleep infinity
video-chat:
build:
context: ./containers/video-chat
container_name: video-chat
ports:
- "8085:443" # HTTPS dla Video Chat
volumes:
- ./volumes/recordings:/app/recordings
- ./volumes/pipelines:/app/pipelines
environment:
- LLM_API_URL=http://llm-orchestrator:5000
- NOVNC_URL=http://novnc:8080
- TTS_ENGINE=google # google, azure, or local
- STT_ENGINE=browser # browser, google, or local
networks:
- autoformfiller-network
depends_on:
- llm-orchestrator
- novnc
- web-voice-api
networks:
autoformfiller-network:
driver: bridge
volumes:
cv-data:
model-data:
config-data:
passwords-data:
recordings-data:
audio-data:
pipelines-data: