Skip to content

Commit

Permalink
🌟support of OpenSearch as a search database
Browse files Browse the repository at this point in the history
 - fix missprint
  • Loading branch information
shepilov committed Jan 3, 2024
1 parent 0805460 commit a2272b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tdrive/docker-compose.dev.tests.opensearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ services:
build:
context: .
dockerfile: docker/tdrive-node/Dockerfile
target: test
target: development
volumes:
- ./coverage/:/usr/src/app/coverage/
environment:
Expand All @@ -51,9 +51,9 @@ services:
- DB_DRIVER
- PUBSUB_URLS=amqp://guest:guest@rabbitmq:5672
- SEARCH_OS_FLUSHINTERVAL=1
- SEARCH_OS_ENDPOINT=https://opensearch-node1:9202;
- SEARCH_OS_PASSWORD=admin;
- SEARCH_OS_USE_AUTH=true;
- SEARCH_OS_ENDPOINT=https://opensearch-node1:9202
- SEARCH_OS_PASSWORD=admin
- SEARCH_OS_USE_AUTH=true
- SEARCH_OS_USERNAME=admin
depends_on:
- mongo
Expand Down
3 changes: 1 addition & 2 deletions tdrive/docker/tdrive-node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ RUN apt-get update && \
# RUN apt-get update && apt-get install -y libc6
# RUN ln -s /lib/libc.musl-x86_64.so.1 /lib/ld-linux-x86-64.so.2


### Install TDrive

WORKDIR /usr/src/app
COPY backend/node/package*.json ./

Expand All @@ -30,6 +28,7 @@ COPY backend/node/ .
#Install dev dependancies for build
RUN export NODE_ENV=development
RUN npm install

#Build in production mode
RUN export NODE_ENV=production
RUN npm run build
Expand Down

0 comments on commit a2272b6

Please sign in to comment.