Browse Source

chore: Updated redis and mongo docker image versions

Owen Diffey 1 year ago
parent
commit
5da507630f
3 changed files with 3 additions and 3 deletions
  1. 1 1
      .env.example
  2. 1 1
      .wiki/Configuration.md
  3. 1 1
      docker-compose.yml

+ 1 - 1
.env.example

@@ -16,7 +16,7 @@ MONGO_ROOT_PASSWORD=PASSWORD_HERE
 MONGO_USER_USERNAME=musare
 MONGO_USER_PASSWORD=OTHER_PASSWORD_HERE
 MONGO_DATA_LOCATION=.db
-MONGO_VERSION=5.0
+MONGO_VERSION=6
 
 REDIS_HOST=127.0.0.1
 REDIS_PORT=6379

+ 1 - 1
.wiki/Configuration.md

@@ -128,7 +128,7 @@ application within the container is listening on `21017`.
 | `MONGO_USER_USERNAME` | Application username for MongoDB. |
 | `MONGO_USER_PASSWORD` | Application password for MongoDB. |
 | `MONGO_DATA_LOCATION` | The location where MongoDB stores its data. Usually the `.db` folder inside the `Musare` folder. |
-| `MONGO_VERSION` | The MongoDB version to use for scripts and docker-compose. Must be numerical. Currently supported MongoDB versions are 4.0, 4.2, 4.4 and 5.0. |
+| `MONGO_VERSION` | The MongoDB version to use for scripts and docker-compose. Must be numerical. Currently supported MongoDB versions are 4.0+. Always backup before changing this value. |
 | `REDIS_HOST` | Redis container host. |
 | `REDIS_PORT` | Redis container port. |
 | `REDIS_PASSWORD` | Redis password. |

+ 1 - 1
docker-compose.yml

@@ -54,7 +54,7 @@ services:
       - ${MONGO_DATA_LOCATION:-./db}:/data/db
 
   redis:
-    image: docker.io/redis:6.2
+    image: docker.io/redis:7
     restart: ${RESTART_POLICY:-unless-stopped}
     command: "--notify-keyspace-events Ex --requirepass ${REDIS_PASSWORD} --appendonly yes"
     volumes: