Skip to content

Commit

Permalink
chore: update README.md with local mongo setup changes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-uhryn-absa committed Jan 31, 2024
1 parent 7aae6a9 commit 2ac81b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ We require fully qualified schemas. You can find how the unqualified should be t
Start the database, you can use docker for that in the following way:

```sh
docker run --name mongo -p 4000:27017 -d mongo:6.0
docker-compose up -d mongo mongo-replica-setup
```

You can change port but don't forget to update the `.env`.
Expand Down Expand Up @@ -116,7 +116,7 @@ cp .env.example .env.test
Start the database, you can use docker for that in the following way:

```sh
docker run --name mongo -p 4000:27017 -d mongo:6.0
docker-compose up -d mongo mongo-replica-setup
```

Now, you can run tests:
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PORT=3000
URL=http://localhost
FRONTEND_URL=http://localhost:3001
DB_CONNECTION_STRING=mongodb://localhost:4000?directConnection=true
DB_CONNECTION_STRING=mongodb://mongo:mongo@localhost:27017?directConnection=true
DB_NAME=test_registry
LOGGER_LOG_LEVEL=debug
LOGGER_OUTPUT_FORMAT=json
Expand Down

0 comments on commit 2ac81b8

Please sign in to comment.