Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
seanlongcc committed Jun 11, 2024
1 parent 1fb9207 commit f992e07
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,15 @@ certificate_key_file: "/etc/ssl/mongodb.pem"
Execute the following command to run the hardened Mongo image:

```sh
docker run -d \
docker run -d \
--name mongo-hardened \
-p 27017:27017 \
-v mongodb_configdb:/data/configdb \
-v mongodb_db:/data/db \
-e PATH="/usr/local/src/openssl-3.1.0/apps:$PATH" \
-e LD_LIBRARY_PATH="/usr/local/src/openssl-3.1.0:$LD_LIBRARY_PATH" \
mongo-hardened mongod --config /etc/mongod.conf
mongo-hardened \
mongod --config /etc/mongod.conf
```

## Notes
Expand Down

0 comments on commit f992e07

Please sign in to comment.