Open
Conversation
- Create README.md for Azure ACI deployment instructions - Add docker-compose.yml for local testing with OpenClaw - Implement auto-stop Azure Function to manage idle ACI - Create webhook Azure Function to handle incoming requests and manage ACI startup - Define Terraform configuration for Azure resources including storage, container group, and function app - Add outputs for resource information after deployment - Include example terraform.tfvars for user configuration - Define necessary variables for Azure deployment in variables.tf
… Azure File Share
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new Azure deployment setup for OpenClaw, enabling efficient deployment and automated management of the service on Azure Container Instances (ACI) using Terraform, Docker Compose, and Azure Functions. The changes add local development support, detailed deployment documentation, and serverless automation for cost-saving (auto-stop/start of containers). The most important changes are grouped below:
Deployment Automation & Infrastructure
docker-compose.ymlfor local testing of OpenClaw, including gateway and CLI services, persistent volumes, environment variable mapping, and healthchecks..dockerignorefile to optimize Docker builds by excluding unnecessary files and directories.Documentation & Environment Setup
README.mdinterraform/azurewith step-by-step instructions for local testing, Azure authentication, API key management, resource configuration, deployment, troubleshooting, and cost considerations..envrcfor environment variable management withdirenv, simplifying the process of exporting secrets for Terraform and Docker Compose.Serverless Cost Control (Azure Functions)
auto-stop: Timer-triggered function that checks if the ACI is idle and stops it to save costs, with configurable idle timeout and robust logging. [1] [2]webhook: HTTP-triggered function that starts the ACI on incoming Telegram/Slack webhooks and forwards messages, ensuring the service is only running when needed. [1] [2]host.json,local.settings.json, andrequirements.txt. [1] [2] [3]