-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose_separate.yml
executable file
·88 lines (84 loc) · 2.27 KB
/
docker-compose_separate.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
83
84
85
86
87
version: '3.8'
services:
whisper_asr_node:
image: naren200/whisper_asr_node:v1
build:
context: ./Dockerfiles
dockerfile: Dockerfile_whisper_asr
container_name: whisper_asr_node
environment:
- AUDIO_FILE=${AUDIO_FILE}
- COMPUTER_ROLE=${COMPUTER_ROLE}
- ROS_MASTER_URI=http://localhost:11311
- ROS_IP=127.0.0.1
network_mode: host
volumes:
- "${LOCAL_ROS_WS}/whisper.cpp:/root/ros2_ws/src/speech-llm-speech/whisper.cpp"
- "${LOCAL_ROS_WS}/whisper_asr:/root/ros2_ws/src/speech-llm-speech/whisper_asr"
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
init: true
ports:
- "11434:11434"
privileged: true
stdin_open: true
tty: true
google_tts_node:
image: naren200/google_tts_node:v1
build:
context: ./Dockerfiles
dockerfile: Dockerfile_google_tts
container_name: google_tts_node
environment:
- COMPUTER_ROLE=${COMPUTER_ROLE}
- ROS_MASTER_URI=http://localhost:11311
- ROS_IP=127.0.0.1
network_mode: host
volumes:
- "${LOCAL_ROS_WS}:/root/ros2_ws/src/speech-llm-speech/google_tts"
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
init: true
ports:
- "11434:11434"
privileged: true
stdin_open: true
tty: true
decision_maker_node:
image: naren200/decision_maker_node:v1
build:
context: ./Dockerfiles
dockerfile: Dockerfile_decision_maker
container_name: decision_maker_node
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- HF_API_KEY=${HF_API_KEY}
- OLLAMA_MODEL=${OLLAMA_MODEL}
- OPENAI_MODEL=${OPENAI_MODEL}
- HUGGINGFACE_MODEL=${HUGGINGFACE_MODEL}
- LLM_SEQUENCE=${LLM_SEQUENCE}
- MOCK_MODE=${MOCK_MODE}
- COMPUTER_ROLE=${COMPUTER_ROLE}
- ROS_MASTER_URI=http://localhost:11311
- ROS_IP=127.0.0.1
network_mode: host
volumes:
- "${LOCAL_ROS_WS}/decision_maker:/root/ros2_ws/src/speech-llm-speech/decision_maker"
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
init: true
ports:
- "11434:11434"
- "5050:5050"
privileged: true
stdin_open: true
tty: true