Azure Data API Builder - deploy to Container App: Unable to find config file: dab-config.json does not exist.

Seys, Jef 21 Reputation points
2023-08-24T12:33:19.31+00:00

Hi,

I am trying to deploy the Data API Builder (DAB) to a container app. I have followed some guidelines such as the following document: https://learn.microsoft.com/en-gb/azure/data-api-builder/running-in-azure?source=docs

I do not have a linux machine so I wrote the bicep myself to deploy the container app. Deployment is successful and image is running but the config file cannot be found.

The documentation is a bit vague on the connection between the container app and where the config file should be.

Did I do anything wrong in the following steps?

Container app environment with fileshare settingsUser's image

The datalake with the fileshare and config file:

User's image

Container app deployment:User's image

Logs of the container app:

User's image

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
258 questions
0 comments No comments
{count} votes

Accepted answer
  1. B M 75 Reputation points
    2023-08-30T21:52:35.5266667+00:00

    The latest tagged version of the Data API Builder Docker image as of this post (0.8.44-rc) might be causing the issues.

    I was running into similar issues while trying to deploy to Azure Container Apps using the sample scripts found at https://github.com/Azure/data-api-builder/tree/main/samples/azure, and changing the container image tag from "latest" to "0.7.6" (the most recent stable version as of this post) seemed to resolve the issue.

    I'm not sure if it's related, but based on the sample scripts the file share should also be in ReadWrite mode instead of ReadOnly.


0 additional answers

Sort by: Most helpful