diff --git a/README.md b/README.md index 6ca54dc81..c2069ee0e 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,13 @@ Download MongoDB Compass (MongoDB GUI) - https://www.mongodb.com/download-center/compass -Create a `cve_dev` and `cve_test` database in Compass. The collections will be automatically created when the API starts storing documents. +Create a `cve_dev` database in Compass. The collections will be automatically created when the API starts storing documents. + +You can populate the database with test data using: + +```sh +npm run populate:dev +``` 3. Start the node application diff --git a/docker/README.md b/docker/README.md index 3317db0c0..ff1344e55 100644 --- a/docker/README.md +++ b/docker/README.md @@ -1,5 +1,9 @@ # Using Docker with cve-services +## Security Considerations + +The cve-services docker container contains a MongoDB instance that doesn't require authentication. If this container is exposed to the public internet it may allow unauthorised actors to modify data stored in the database. + ## Setup for Local Development Use the following steps to build and run cve-services (Node.js app