dotnet-architecture / eShopOnContainers

Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 7, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor. Moved to https://github.com/dotnet/eShop.

Home Page:https://dot.net/architecture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not able to Use Azure Storage Account for catalog images

rgandhi715 opened this issue · comments

Are there any documents/steps available to use Azure Storage account for catalog API. I have tried passing the container endpoint URL in the Image along with the Storage account name and key. have also uploaded the images in Storage account. still not loading the images.

I am deploying the application on AKS.
image

Hi @rgandhi715, thanks for testing eShop and sharing your query here. You can follow below steps :

Change the value of the below variable to True:

- AzureStorageEnabled=False

- AzureStorageEnabled=False

Then comment below line:

ESHOP_STORAGE_CATALOG_URL=http://host.docker.internal:5202/c/api/v1/catalog/items/[0]/pic/

Uncomment the below line and configure this value to the cloud storage locations URL(https://xxxxxxxx.blob.core.windows.net/pics/):

# ESHOP_STORAGE_CATALOG_URL=<YourAzureStorage_Catalog_BLOB_URL>

Let me know if this helps.

We have also captured the process in the wiki section on page Using-Azure-resources. I am closing this issue right now, but please feel free to continue the conversation if you want more help.