diff --git a/boot-mongodb-elasticsearch/docker/docker-compose-cluster.yml b/boot-mongodb-elasticsearch/docker/docker-compose-cluster.yml index 07013d2b1..fbf7faf23 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.19 + image: mongo:8.0.3 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.19 + image: mongo:8.0.3 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.19 + image: mongo:8.0.3 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 6d51bd0f3..4bf3acbda 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:8.0.1 + image: mongo:8.0.3 volumes: - mongodb:/data/db ports: diff --git a/docker-compose.yml b/docker-compose.yml index 36128ac48..0edba9697 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:8.0.1 + image: mongo:8.0.3 ports: - "27017:27017" volumes: