Skip to content

xatier/whoogle-azure

Repository files navigation

Whoogle Search on Azure Cloud

Repo to quickly host Whoogle Search on Azure Container Instances or Azure Container Apps Preview.

Azure Container Instances setup

  • update <azure region> in Caddyfile.
  • generate ca.cert under certs/ca.cert.
  • update AZURE_GROUP_NAME in run.sh.
  • update AZURE_GROUP_NAME and LOCATION in azure-storage-create.sh.
  • update <azure region> in setup.yaml.
  • apply other desired settings in setup.yaml
az login --use-device-code --tenant <yourdiretory.onmicrosoft.com>

# upload Caddyfile to Azure Storage Files
# this script will print `storageAccountName` and `storageAccountKey`
./azure-storage-create.sh

# update `storageAccountName` and `storageAccountKey` in `setup.yaml`

# deploy container instance
./run.sh

Azure Container Apps setup

  • update AZURE_GROUP_NAME in azure-container-app-run.sh.
  • update AZURE_LOCATION in azure-container-app-run.sh.
  • update <azure region> in containerapp.yaml.
  • update kubeEnvironmentId in containerapp.yaml.
  • apply other desired settings in containerapp.yaml
az login --use-device-code --tenant <yourdiretory.onmicrosoft.com>
./azure-container-app-run.sh

Releases

No releases published

Packages

No packages published

Languages