Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
f-w committed Dec 20, 2024
1 parent 2e86384 commit 7ebb59f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/docs/config/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ permalink: /docs/config-database/

# Database

By default _NotifyBC_ uses in-memory database backed up by folder _/server/database/_ for local and docker deployment and MongoDB for Kubernetes deployment. To use MongoDB for non-Kubernetes deployment, add file _/src/datasources/db.datasource.(local|\<env\>).(json|js|ts)_ with MongoDB connection information such as following:
By default _NotifyBC_ uses [mongodb-memory-server](https://github.com/typegoose/mongodb-memory-server) backed up by folder _server/database/_ for local and docker deployment and a separate MongoDB for Kubernetes deployment. To use a separate MongoDB for non-Kubernetes deployment, add file _src/datasources/db.datasource.(local|\<env\>).(json|js|ts)_ with MongoDB connection information such as following:

```js
module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/config/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Customizing other configs only if needed.

## Dynamic Configurations

Dynamic configs are managed using REST [configuration api](../api-config/).
Dynamic configs are managed using REST [configuration api](../api-config/). At the time of installing _NotifyBC_, no dynamic configs need to be setup.

::: tip Why Dynamic Configs?
Dynamic configs are needed in cases such as
Expand Down
3 changes: 2 additions & 1 deletion docs/docs/config/queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ module.exports = {
};
```

If you deployed _NotifyBC_ using Helm chart, this config is taken care of.
If you deployed _NotifyBC_ using Helm chart, this config is taken care of. If you deployed _NotifyBC_ using docker, Redis is created inside docker using [Redis In-Memory Server
](https://github.com/mhassan1/redis-memory-server) by default.

0 comments on commit 7ebb59f

Please sign in to comment.