Skip to content

Commit

Permalink
feat: sync versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli authored Oct 13, 2023
1 parent 43aac0f commit e940197
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions boot-mongodb-elasticsearch/docker/docker-compose-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
mongo1:
container_name: mongo1
hostname: mongo1
image: mongo:7.0.1
image: mongo:6.0.11
extra_hosts:
- "host.docker.internal:host-gateway"
- "docker.for.win.host.internal:host-gateway"
Expand All @@ -20,7 +20,7 @@ services:
mongo2:
container_name: mongo2
hostname: mongo2
image: mongo:7.0.1
image: mongo:6.0.11
extra_hosts:
- "host.docker.internal:host-gateway"
- "docker.for.win.host.internal:host-gateway"
Expand All @@ -33,7 +33,7 @@ services:
mongo3:
container_name: mongo3
hostname: mongo3
image: mongo:7.0.1
image: mongo:6.0.11
extra_hosts:
- "host.docker.internal:host-gateway"
- "docker.for.win.host.internal:host-gateway"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ public class TestApplication {
@Bean
@RestartScope
ElasticsearchContainer elasticsearchContainer() {
return new ElasticsearchContainer("docker.elastic.co/elasticsearch/elasticsearch:8.10.2")
return new ElasticsearchContainer("docker.elastic.co/elasticsearch/elasticsearch:8.10.3")
.withEnv(Map.of("xpack.security.enabled", "false"));
}

@ServiceConnection
@Bean
@RestartScope
MongoDBContainer mongoDBContainer() {
return new MongoDBContainer(DockerImageName.parse("mongo").withTag("7.0.1")).withSharding();
return new MongoDBContainer(DockerImageName.parse("mongo").withTag("6.0.11")).withSharding();
}

public static void main(String[] args) {
Expand Down

0 comments on commit e940197

Please sign in to comment.