From 40ad4d0e3f0068cd86c752f5012285c9c50d3c9e Mon Sep 17 00:00:00 2001 From: Brendan Smith <3453402+bsmithio@users.noreply.github.com> Date: Thu, 26 Jan 2023 02:16:32 -0600 Subject: [PATCH] Updated to MongoDB 6.0.4, Graylog 5.0.2, Grafana 9.2.10, InfluxDB 2.6.1 If you have a previous version of MongoDB(4.4, 5.0) you will need to make some quick configurations before you apply this. If you are on 4.4, shell into your mongodb container, type mongo, and enter this command `db.adminCommand( { setFeatureCompatibilityVersion: "4.4" } )`. Change mongo:6.0.4 to mongo:5.0 and apply this docker-compose file. Shell back into your mongodb container and enter this command, `db.adminCommand( { setFeatureCompatibilityVersion: "5.0" } )`. Change mongo:5.0 back to mongo:6.0.4 and apply this docker-compose file. --- docker-compose.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index d75c1d0..48cbdac 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -2,7 +2,7 @@ version: '3' services: mongodb: container_name: mongodb - image: mongo:4.4.10 + image: mongo:6.0.4 volumes: - mongodb_data:/data/db restart: "unless-stopped" @@ -24,7 +24,7 @@ services: restart: "unless-stopped" graylog: container_name: graylog - image: graylog/graylog:4.2.4 + image: graylog/graylog:5.0.2 volumes: - graylog_data:/usr/share/graylog/data environment: @@ -55,7 +55,7 @@ services: restart: "unless-stopped" influxdb: container_name: influxdb - image: influxdb:2.1.1 + image: influxdb:2.6.1 ports: - '8086:8086' volumes: @@ -66,7 +66,7 @@ services: restart: "unless-stopped" grafana: container_name: grafana - image: grafana/grafana:8.3.3 + image: grafana/grafana:9.2.10 ports: - '3000:3000' volumes: