Add pinning note to readme

This commit is contained in:
TheSpad 2023-09-07 09:05:31 +01:00
parent 617327c026
commit e4cdf5951c
No known key found for this signature in database
GPG key ID: 08F06191F4587860

View file

@ -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