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.
This commit is contained in:
Brendan Smith 2023-01-26 02:16:32 -06:00 committed by GitHub
parent b22d5097be
commit 40ad4d0e3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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