Skip to content

Commit

Permalink
🌟support of OpenSearch as a search database
Browse files Browse the repository at this point in the history
 - do not expose port during the test
  • Loading branch information
shepilov committed Jan 3, 2024
1 parent 00b6ac3 commit f907e5d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tdrive/docker-compose.dev.tests.opensearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ services:
hard: 65536
# volumes:
# - opensearch-data1:/usr/share/opensearch/data # Creates volume called opensearch-data1 and mounts it to the container
# ports:
# - 9200:9200 # REST API
ports:
- 9200:9202 # REST API
# - 9600:9600 # Performance Analyzer
# networks:
# - opensearch-net # All of the containers will join the same Docker bridge network
# - opensearch-net # All of the containers will join the same Docker bridge network

mongo:
container_name: mongo
image: mongo
volumes:
- ./docker-data/mongo:/data/db
# ports:
# - 27017:27017
ports:
- 27017:27017

node:
image: tdrive/tdrive-node:test
Expand All @@ -51,7 +51,7 @@ services:
- DB_DRIVER
- PUBSUB_URLS=amqp://guest:guest@rabbitmq:5672
- SEARCH_OS_FLUSHINTERVAL=1
- SEARCH_OS_ENDPOINT=https://opensearch-node1:9200;
- SEARCH_OS_ENDPOINT=https://opensearch-node1:9202;
- SEARCH_OS_PASSWORD=admin;
- SEARCH_OS_USE_AUTH=true;
- SEARCH_OS_USERNAME=admin
Expand Down

0 comments on commit f907e5d

Please sign in to comment.