Azurite emulator for Native Azure Storage Improvement

Harsh Bakshi
2 min readMay 10, 2024

--

Introduction

Docker gives a variety of Pictures that assist to run the required purposes or providers in localhost with out putting in.

  • Docker Picture: mcr.microsoft.com/azure-storage/azurite.
  • YAML: YAML stands for YAML Ain’t Markup Language, but it surely initially stood for But One other Markup Language.
  • Quantity: Volumes are the popular mechanism for persisting knowledge generated by and utilized by Docker containers.
model: '3'

providers:
azure-storage-emulator:
picture: mcr.microsoft.com/azure-storage/azurite
container_name: azure-blob-storage
ports:
- "10000:10000" # Blob service
- "10001:10001" # Queue service
- "10002:10002" # Desk service
volumes:
- azure-storage-volume:/decide/azurite/folder
surroundings:
- "ASPNETCORE_ENVIRONMENT=Improvement"
- "AZURE_STORAGE_ACCOUNT=<>"
- "AZURE_STORAGE_ACCESS_KEY=<>"
- "AZURE_STORAGE_BLOB_ENDPOINT=http://localhost:10000/storage_ccount_name"

volumes:
azure-storage-volume:
driver: native

Steps

  1. Save the yaml file.
  2. run the docker-compose up -d from the terminal/command immediate.

Conclusion

This helps us to run the Azure storage domestically.

Know extra about our firm at Skrots. Know extra about our providers at Skrots Providers, Additionally checkout all different blogs at Weblog at Skrots


Know more about our company at Skrots. Know more about our services at Skrots Services, Also checkout all other blogs at Blog at Skrots

Thanks, Harsh
Founder | CEO — Skrots

Learn more about our blog at Blog at Skrots. Checkout our list of services on Skrots. Give a look at our website design at Skrots . Checkout our LinkedIn Page at LinkedIn.com. Check out our original post at https://blog.skrots.com/azurite-emulator-for-local-azure-storage-development/?feed_id=6091&_unique_id=663ea0081e521

--

--

No responses yet