diff --git a/boot-mongodb-elasticsearch/docker/docker-compose-cluster.yml b/boot-mongodb-elasticsearch/docker/docker-compose-cluster.yml index 260782d0d..970f53454 100644 --- a/boot-mongodb-elasticsearch/docker/docker-compose-cluster.yml +++ b/boot-mongodb-elasticsearch/docker/docker-compose-cluster.yml @@ -4,7 +4,7 @@ services: mongo1: container_name: mongo1 hostname: mongo1 - image: mongo:6.0.13 + image: mongo:7.0.5 extra_hosts: - "host.docker.internal:host-gateway" - "docker.for.win.host.internal:host-gateway" @@ -20,7 +20,7 @@ services: mongo2: container_name: mongo2 hostname: mongo2 - image: mongo:6.0.13 + image: mongo:7.0.5 extra_hosts: - "host.docker.internal:host-gateway" - "docker.for.win.host.internal:host-gateway" @@ -33,7 +33,7 @@ services: mongo3: container_name: mongo3 hostname: mongo3 - image: mongo:6.0.13 + image: mongo:7.0.5 extra_hosts: - "host.docker.internal:host-gateway" - "docker.for.win.host.internal:host-gateway" diff --git a/boot-mongodb-elasticsearch/docker/docker-compose.yml b/boot-mongodb-elasticsearch/docker/docker-compose.yml index 5603419d1..c9b6066ab 100644 --- a/boot-mongodb-elasticsearch/docker/docker-compose.yml +++ b/boot-mongodb-elasticsearch/docker/docker-compose.yml @@ -3,7 +3,7 @@ version: "3.9" services: mongodb: hostname: mongodb - image: mongo:6.0.13 + image: mongo:7.0.5 volumes: - mongodb:/data/db ports: diff --git a/docker-compose.yml b/docker-compose.yml index 5ac78265f..9380baa02 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -65,7 +65,7 @@ services: - /var/run/docker.sock:/var/run/docker.sock mongodb: - image: mongo:7.0.2 + image: mongo:7.0.5 ports: - "27017:27017" volumes: