Skip to content

Commit

Permalink
Merge pull request #55 from data-catering/opensearch
Browse files Browse the repository at this point in the history
Add in opensearch
  • Loading branch information
pflooky authored Jul 25, 2024
2 parents 96572d7 + 7fd0210 commit a0987aa
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ mysql mysql:3306 localhost:3306 host.docker.internal:3306
./run.sh remove postgres
```

### Run version

```shell
<service>_VERSION=0.1 ./run.sh <services>
POSTGRES_VERSION=14.0 ./run.sh postgres
```

### Run from anywhere

In your `.bashrc, .zshrc, ...`, add:
Expand Down Expand Up @@ -124,10 +131,10 @@ POSTGRES_USER=my-user POSTGRES_PASSWORD=my-password ./run.sh postgres
| Database | mssql ||
| Database | mysql ||
| Database | neo4j ||
| Database | opensearch ||
| Database | postgres ||
| Database | spanner ||
| Database | sqlite ||
| Database | opensearch ||
| Data Catalog | marquez ||
| Data Catalog | unitycatalog ||
| Data Catalog | amundsen ||
Expand Down
3 changes: 3 additions & 0 deletions docker-compose-persist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ services:
neo4j:
volumes:
- "./data/neo4j/persist:/data"
opensearch:
volumes:
- "./data/opensearch/persist:/usr/share/opensearch/data"
postgres-server:
volumes:
- "./data/postgres/persist:/data/postgres"
Expand Down
14 changes: 14 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,20 @@ services:
ports:
- "7474:7474"
- "7687:7687"
opensearch:
container_name: opensearch
environment:
- discovery.type=single-node
- "OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_PASSWORD:-!BigData#1}"
healthcheck:
interval: 10s
retries: 5
test: [CMD, curl, --fail, "https://localhost:9200", -ku, "admin:${OPENSEARCH_PASSWORD:-!BigData#1}"]
timeout: 5s
image: "opensearchproject/opensearch:${OPENSEARCH_VERSION:-2.15.0}"
ports:
- "9600:9600"
- "9200:9200"
pinot:
command: "StartServer -zkAddress zookeeper:2181"
container_name: pinot-server
Expand Down

0 comments on commit a0987aa

Please sign in to comment.