Fully update to .NET 7
parent
c042a4782e
commit
f8878fb5d3
|
@ -3,10 +3,10 @@ version: '3.4'
|
|||
services:
|
||||
|
||||
podcast.api:
|
||||
image: ${DOCKER_REGISTRY-}podcastapi
|
||||
image: ${DOCKER_REGISTRY-}podcastminapi
|
||||
build:
|
||||
context: .
|
||||
dockerfile: src/Services/Podcasts/Podcast.API/Dockerfile
|
||||
dockerfile: src/Services/Podcasts/Podcast.MinimalAPI/Dockerfile
|
||||
depends_on:
|
||||
- podcast.db
|
||||
- storage
|
||||
|
|
|
@ -30,7 +30,7 @@ builder.Services.AddTransient<JitterHandler>();
|
|||
builder.Services.AddHttpClient<ShowClient>().AddHttpMessageHandler<JitterHandler>();
|
||||
|
||||
// Authentication and authorization-related services
|
||||
builder.Services.AddMicrosoftIdentityWebApiAuthentication(builder.Configuration);
|
||||
// builder.Services.AddMicrosoftIdentityWebApiAuthentication(builder.Configuration);
|
||||
builder.Services.AddAuthorizationBuilder().AddPolicy("modify_feeds", policy => policy.RequireScope("API.Access"));
|
||||
|
||||
// OpenAPI and versioning-related services
|
||||
|
|
Loading…
Reference in New Issue