Skip to content

Commit b5fccda

Browse files
author
erangi-ar
committed
Add opensearch-node and notifications-node services to docker-compose for enhanced functionality
1 parent 99ad60e commit b5fccda

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

docker-compose-ec2.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,58 @@ services:
196196
networks:
197197
- bykstack
198198

199+
opensearch-node:
200+
image: opensearchproject/opensearch:2.11.1
201+
container_name: opensearch-node
202+
environment:
203+
- node.name=opensearch-node
204+
- discovery.seed_hosts=opensearch
205+
- discovery.type=single-node
206+
- bootstrap.memory_lock=true
207+
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
208+
- plugins.security.disabled=true
209+
ulimits:
210+
memlock:
211+
soft: -1
212+
hard: -1
213+
nofile:
214+
soft: 65536
215+
hard: 65536
216+
volumes:
217+
- opensearch-data:/usr/share/opensearch/data
218+
ports:
219+
- 9200:9200
220+
- 9600:9600
221+
networks:
222+
- bykstack
223+
224+
notifications-node:
225+
container_name: notifications-node
226+
build:
227+
context: ./notification-server
228+
dockerfile: Dockerfile
229+
ports:
230+
- 4040:4040
231+
depends_on:
232+
- opensearch-node
233+
environment:
234+
OPENSEARCH_PROTOCOL: http
235+
OPENSEARCH_HOST: opensearch-node
236+
OPENSEARCH_PORT: 9200
237+
OPENSEARCH_USERNAME: admin
238+
OPENSEARCH_PASSWORD: admin
239+
PORT: 4040
240+
REFRESH_INTERVAL: 1000
241+
QUEUE_REFRESH_INTERVAL: 4000
242+
CORS_WHITELIST_ORIGINS: http://localhost:3001,http://localhost:3003,http://localhost:3004,http://localhost:8080,https://est-rag-rtc.rootcode.software
243+
RUUTER_URL: http://ruuter-public:8086
244+
CHAT_TERMINATION_DELAY: 5000
245+
volumes:
246+
- /app/node_modules
247+
- ./notification-server:/app
248+
networks:
249+
- bykstack
250+
199251
qdrant:
200252
image: qdrant/qdrant:v1.15.1
201253
restart: always

0 commit comments

Comments
 (0)