Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in opensearch #55

Merged
merged 2 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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