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

Update README.md to reflect current deployment #202

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,20 @@ export SRV_GREENWAVE_URL="https://greenwave.engineering.redhat.com"
export SRV_WAIVERDB_URL="https://waiverdb.engineering.redhat.com"
```

4. Setup container running MongoDB:
4. Start the server:

```bash
podman run -p 27017:27017 -e MONGODB_USERNAME=user -e MONGODB_PASSWORD=password -e MONGODB_DATABASE=ci-messages -e MONGODB_ROOT_PASSWORD=passwordrootmongodb bitnami/mongodb:latest
DEBUG="osci:*" npm run dev:server
```

5. Start the server:
## Opensearch integration

```bash
SRV_DB_URL='mongodb://root:[email protected]' DEBUG="osci:*" npm run dev:server
```

**Optional step:** use official read only database `SRV_DB_URL` provided by OSCI team:
Connect the dashbaord to Opensearch by setting the following environment variables (this can be done when the server and client are running if desired):

```bash
SRV_DB_DB_NAME="oscidashboard" SRV_DB_URL='mongodb://oscidashboardro_user:[email protected]:32701/oscidashboard?authSource=admin&tls=true&tlsInsecure=true&replicaSet=mongoshared7&directConnection=true' DEBUG="osci:*" npm run dev:server
# ...
export SRV_OPENSEARCH_INDEXES_PREFIX="dev-"
export SRV_OPENSEARCH_CLIENT_NODE="https://admin:<pwd>@opensearch-1.prod.osci.redhat.com:9200"
```

## Sentry integration
Expand Down
Loading