Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

quality: Bicep documentation

Clémence Lesné1593d88fb2b8
diff --git a/cicd/bicep/app.bicep b/cicd/bicep/app.bicep
index c11193a..4725af5 100644
--- a/cicd/bicep/app.bicep
+++ b/cicd/bicep/app.bicep
@@ -176,8 +176,9 @@ resource redis 'Microsoft.App/containerApps@2024-03-01' = {
environmentId: acaEnv.id
template: {
scale: {
- maxReplicas: 1
- minReplicas: 1
+ maxReplicas: 1 // Scaling would require a cluster, not needed
+ minReplicas: 1 // Cache requires low latency, need to keep it running
+ rules: []
}
containers: [
{
@@ -193,7 +194,7 @@ resource redis 'Microsoft.App/containerApps@2024-03-01' = {
tcpSocket: {
port: 6379
}
- initialDelaySeconds: 10
+ initialDelaySeconds: 1 // Start in few secs, delay is not needed
}
]
}