diff --git a/src/apphost/AppHost.cs b/src/apphost/AppHost.cs index ab0c42ac..f46e7bb2 100644 --- a/src/apphost/AppHost.cs +++ b/src/apphost/AppHost.cs @@ -41,7 +41,9 @@ var api = builder.AddProject("api") .WaitFor(postgres) .WithReference(db, "DefaultConnection") - .WithEnvironment("ConnectionStrings__Provider", "PostgreSQL"); + .WithEnvironment("ConnectionStrings__Provider", "PostgreSQL") + .WithHttpEndpoint(port: 5000, name: "http", isProxied: false) + .WithExternalHttpEndpoints(); // n8n uses a dedicated Postgres database for reproducible state var n8nDb = postgres.AddDatabase("n8n-db", "n8n");