Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codex/environments/environment.toml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,6 @@ if command -v docker >/dev/null 2>&1 && docker info >/dev/null 2>&1; then
Exceptionless-Mail \
2>/dev/null || true

docker volume rm exceptionless.data.v1 2>/dev/null || true
docker volume rm exceptionless.data.v2 2>/dev/null || true
fi
'''
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static class ElasticsearchBuilderExtensions
private const int KibanaPort = 5601;

/// <summary>
/// Adds a Elasticsearch container to the application model. The default image is "docker.elastic.co/elasticsearch/elasticsearch". This version the package defaults to the 8.19.22 tag of the Elasticsearch container image
/// Adds an Elasticsearch container using exceptionless/elasticsearch:9.5.4, including the mapper-size plugin.
/// </summary>
/// <param name="builder">The <see cref="IDistributedApplicationBuilder"/>.</param>
/// <param name="name">The name of the resource. This name will be used as the connection string name when referenced in a dependency.</param>
Expand Down Expand Up @@ -125,7 +125,7 @@ internal static class ElasticsearchContainerImageTags
public const string Image = "exceptionless/elasticsearch";
public const string KibanaRegistry = "docker.elastic.co";
public const string KibanaImage = "kibana/kibana";
public const string Tag = "8.19.22";
public const string Tag = "9.5.4";
}

internal sealed class ElasticsearchConnectionHealthCheck(Func<string?> connectionStringFactory) : IHealthCheck
Expand Down
3 changes: 2 additions & 1 deletion src/Exceptionless.AppHost/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
const string SharedEmailConnectionString = "smtp://localhost:1026";

var elastic = builder.AddElasticsearch("Elasticsearch", port: 9200)
.WithDataVolume("exceptionless.data.v1")
// Increment the volume version for breaking data changes and preserve the previous volume.
.WithDataVolume("exceptionless.data.v2")
Comment thread
ejsmith marked this conversation as resolved.
.WithEndpointProxySupport(false);

// Backend tests use in-memory queues/cache and scoped file storage. Starting the
Expand Down
Loading