
aible/azure本镜像为Aible Azure Function Apps提供定制化容器环境,旨在简化Aible相关Azure函数应用的部署、运行与管理流程。通过预配置Aible运行依赖及Azure Functions兼容环境,帮助用户快速启动Aible函数应用,减少手动配置步骤。
bashdocker pull [镜像仓库地址]/aible-azure-function-apps:latest
注:请将
[镜像仓库地址]替换为实际镜像存储位置(如Azure Container Registry地址)
bashdocker run -d \ --name aible-azure-function \ -e FUNCTIONS_WORKER_RUNTIME=python \ # 根据实际运行时调整(python/node等) -e AzureWebJobsStorage="DefaultEndpointsProtocol=https;AccountName=<storage-account>;AccountKey=<account-key>;EndpointSuffix=core.windows.net" \ -e AIBLE_API_KEY=<your-aible-api-key> \ -e AIBLE_ENV=production \ # 可选,指定Aible环境(dev/production) -p 8080:80 \ [镜像仓库地址]/aible-azure-function-apps:latest
yamlversion: '3.8' services: aible-function: image: [镜像仓库地址]/aible-azure-function-apps:latest container_name: aible-azure-function ports: - "8080:80" environment: - FUNCTIONS_WORKER_RUNTIME=python - AzureWebJobsStorage="DefaultEndpointsProtocol=https;AccountName=<storage-account>;AccountKey=<account-key>;EndpointSuffix=core.windows.net" - AIBLE_API_KEY=<your-aible-api-key> - AIBLE_TIMEOUT=300 # 可选,Aible请求超时时间(秒) restart: unless-stopped
| 参数名称 | 说明 | 必需 | 默认值 |
|---|---|---|---|
| FUNCTIONS_WORKER_RUNTIME | 指定函数运行时(如python/node/dotnet) | 是 | 无 |
| AzureWebJobsStorage | Azure存储账户连接字符串 | 是 | 无 |
| AIBLE_API_KEY | Aible服务访问密钥 | 是 | 无 |
| AIBLE_ENV | Aible运行环境标识 | 否 | production |
| AIBLE_TIMEOUT | Aible请求超时时间(秒) | 否 | 300 |
bashaz functionapp create \ --name <function-app-name> \ --resource-group <resource-group> \ --plan <app-service-plan> \ --deployment-container-image-name [镜像仓库地址]/aible-azure-function-apps:latest \ --storage-account <storage-account>
环境变量配置:在Azure函数应用门户的"配置"页面,添加上述表格中的环境变量参数。
持续部署:配置Azure Container Registry触发器,实现镜像更新时自动部署函数应用。



manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务