Skip to content

merken/local-azure-functions

Repository files navigation

Run a Azure Functions locally inside a Docker container using Docker Compose!

Prerequisites

Getting started

  1. Clone this Repo
  2. Run all the containers using docker-compose up (this will pull and build the containers initially)
docker-compose up
  1. Create the Azure Storage artifacts Run Azure Storage Explorer and create the following Blob Containers:
  • input-container
  • output-container
  1. Create the following queue:
  • queue
  1. Try out the HTTP calls from the http directory using the VS Code REST Client extension and see it get processed by the HttpTriggeredFunction
  2. Add a new message to the queue and see it get processed by the QueueTriggeredFunction
  3. Add a new file to the input-container and see it get copied to the output-container by the BlobTriggeredFunction
  4. Press CTRL-C to stop the docker-compose command
  5. To debug the application in VS CODE, press F5 from inside the cloned directory, this will start the storage emulator container first
  6. Cleanup every running container using docker-compose down
docker-compose down

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published