diff --git a/infrastructure/bicep/container-apps/apps/deploy.sh b/infrastructure/bicep/container-apps/apps/deploy.sh index 464d0e61e7..90705fde29 100755 --- a/infrastructure/bicep/container-apps/apps/deploy.sh +++ b/infrastructure/bicep/container-apps/apps/deploy.sh @@ -25,7 +25,8 @@ environmentOptions=("loc" "dev" "prd") # "jdmd": JuiceDollar Mainnet dApp # "jdmm": JuiceDollar Mainnet Monitoring # "rup": realUnit Ponder -appNameOptions=("fcp" "dep" "dea" "ded" "dem" "jsp" "jsw" "n8n" "jdtp" "jdta" "jdtd" "jdtm" "jdmp" "jdma" "jdmd" "jdmm" "rup") +# "nbt": Nanobot +appNameOptions=("fcp" "dep" "dea" "ded" "dem" "jsp" "jsw" "n8n" "jdtp" "jdta" "jdtd" "jdtm" "jdmp" "jdma" "jdmd" "jdmm" "rup" "nbt") # --- FUNCTIONS --- # selectOption() { diff --git a/infrastructure/bicep/container-apps/apps/parameters/prd-nbt.json b/infrastructure/bicep/container-apps/apps/parameters/prd-nbt.json new file mode 100644 index 0000000000..3f884ded77 --- /dev/null +++ b/infrastructure/bicep/container-apps/apps/parameters/prd-nbt.json @@ -0,0 +1,67 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "fileShareQuota": { + "value": 50 + }, + "containerImage": { + "value": "dfxswiss/nanobot:latest" + }, + "containerVolumeMounts": { + "value": [ + { + "volumeName": "volume", + "mountPath": "/root/.nanobot" + } + ] + }, + "containerCPU": { + "value": "1" + }, + "containerMemory": { + "value": "2Gi" + }, + "containerMinReplicas": { + "value": 1 + }, + "containerMaxReplicas": { + "value": 1 + }, + "containerIngressTargetPort": { + "value": 18790 + }, + "containerIngressAdditionalPorts": { + "value": [] + }, + "containerProbes": { + "value": [] + }, + "containerEnv": { + "value": [ + { + "name": "ANTHROPIC_API_KEY", + "value": "[ANTHROPIC_API_KEY]" + }, + { + "name": "TELEGRAM_BOT_TOKEN", + "value": "[TELEGRAM_BOT_TOKEN]" + }, + { + "name": "TELEGRAM_USER_ID", + "value": "[TELEGRAM_USER_ID]" + }, + { + "name": "GH_TOKEN", + "value": "[GH_TOKEN]" + } + ] + }, + "containerCommand": { + "value": [] + }, + "containerArgs": { + "value": [] + } + } +} diff --git a/infrastructure/bicep/container-apps/manualFrontdoorPrivateSetup.sh b/infrastructure/bicep/container-apps/manualFrontdoorPrivateSetup.sh index f187731765..10d643d430 100755 --- a/infrastructure/bicep/container-apps/manualFrontdoorPrivateSetup.sh +++ b/infrastructure/bicep/container-apps/manualFrontdoorPrivateSetup.sh @@ -8,7 +8,8 @@ set -e environmentOptions=("loc" "dev" "prd") # "rup": RealUnit Ponder -appNameOptions=("rup") +# "nbt": Nanobot +appNameOptions=("rup" "nbt") # --- FUNCTIONS --- # selectOption() {