Skip to content

Commit

Permalink
chore: Disable Elasticsearch GeoIP2 downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
HofmeisterAn committed Jul 7, 2023
1 parent 171535c commit 52316d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Testcontainers.Elasticsearch/ElasticsearchBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ protected override ElasticsearchBuilder Init()
.WithUsername(DefaultUsername)
.WithPassword(DefaultPassword)
.WithEnvironment("discovery.type", "single-node")
.WithEnvironment("ingest.geoip.downloader.enabled", "false")
.WithResourceMapping(DefaultMemoryVmOption, ElasticsearchDefaultMemoryVmOptionFilePath)
.WithWaitStrategy(Wait.ForUnixContainer().AddCustomWaitStrategy(new WaitUntil()));
}
Expand Down

0 comments on commit 52316d8

Please sign in to comment.