From e4cdf5951c7e68508c8fe748d93fa0e7ac0ffda9 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Thu, 7 Sep 2023 09:05:31 +0100 Subject: [PATCH] Add pinning note to readme --- readme-vars.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readme-vars.yml b/readme-vars.yml index 7868e51..1876cf6 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -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