A collection of github action utils
Exprimental compose files for single app use of dapr.
There is two options, web apps (for containers) and continer instances (ACI). Web Apps of course would be more attractive for web workloads with auto-scaling etc, but the current compose support limits the service. In its current state running a single app baked by state store and outgoing bindings might suffice. But ACI has greater compose support making more scenarios possible.
WiP - see issues for status
The docker-compose file in the "dapr" folder could be used with the "azure/webapps-deploy@v2" github action. This is the same compose file as for local, but with an Azure file share. The ENV variables set in the github action seems to not be in context. The (white listed )app configuration settings sould be in scope.
- Deploy with compose in github action
- Configure compose file in deployment center and use web hook to deploy.
Since compose support is in preview there is alot of unsupported features, that dapr might need.
Environment variables in the compose file doesn't seem to be supported, and will need to be manually replaced to fit the scenario.
In the compose file, Azure File Storage is used. It might be possible to use the host storage when running web apps.
The docker-compose file in the "dapr" folder could be use in a github action, but not as straight forward as for web apps.
- Deploy with compose in github action
- Configure compose file in deployment center and use web hook to deploy.
The support for running functions in a custom container, is basicly running functions in app service, but based on an functions runtime image. The compose support is the same as in app service, but now with access to the dapr integration.
The dapr functions extension adds access to dapr triggers and bindings.
- Deploy with compose in github action
- Configure compose file in deployment center and use web hook to deploy.
When running on App Service with Linux containers, yoou need to enable logging - Enable logging for linux containers
Since the new Logic Apps runtime let you run workflows anywhere containerized, it could run in all mentioned services. With the dapr workflows this allows you to utilize dapr service invocation and binding triggers in workflows.
- Configure a GitHub action to create a container instance
- Setting Up Cloud Deployments Using Docker, Azure and Github Actions
- Dapr Sample - Hello docker compose
- Dapr demos
- Dapr Web Push Sample
- Dapr docs - self hosted with docker
- Units of deployment - a brief look into the future, guided by dapr
- Mount azure file share to web app for linux containers with docker-compose