Skip to content

Commit

Permalink
Add pinning note to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Sep 7, 2023
1 parent 617327c commit e4cdf59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ app_setup_block: |
Formally only mongodb 3.6 through 4.4 are supported, however, it has been reported that newer versions will work. If you choose to use a newer version be aware that you will not be operating a supported configuration.
**Make sure you pin your database image version and do not use `latest`, as mongodb does not support automatic upgrades between major versions.**
If you are using the [official mongodb container](https://hub.docker.com/_/mongo/), you can create your databases using an `init-mongo.js` file with the following contents:
```js
Expand Down

0 comments on commit e4cdf59

Please sign in to comment.