diff --git a/docker-compose.yml b/docker-compose.yml index aead3dc..4e156a0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/src/Services/Podcasts/Podcast.MinimalAPI/Program.cs b/src/Services/Podcasts/Podcast.MinimalAPI/Program.cs index ee92414..3d5cc1f 100644 --- a/src/Services/Podcasts/Podcast.MinimalAPI/Program.cs +++ b/src/Services/Podcasts/Podcast.MinimalAPI/Program.cs @@ -30,7 +30,7 @@ builder.Services.AddTransient(); builder.Services.AddHttpClient().AddHttpMessageHandler(); // 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