Skip to content

Docker hub repo image does not work properly when deployed to Azure web app for containers. #35

@Shubham-Isol

Description

@Shubham-Isol

Hi,
We have been trying to deploy the docker hub image (jgraph/drawio:13.0.4) to Azure "Web App for Containers" service.
We can configure the service with docker hub correctly, but it is not picking the application settings from Azure.
We are trying to integrate the Onedrive using our own onedrive application.

Steps I followed:

  1. Created a resource from Azure "Web App for Containers".
  2. Configured the resource to connect with Docker-Hub respository with URL jgraph/drawio:13.0.4
  3. Added the envrionment variables (DRAWIO_MSGRAPH_CLIENT_ID and DRAWIO_MSGRAPH_CLIENT_SECRET) into application settings in Azure portal - web app - Configuration.
  4. When trying to access the web app from the deployed URL, it loads the diagrams frontend correctly, but the onedrive client_id is not updated, its still drawio's client_id.
  5. So the authorization fails because the redirectUri is different.

So, Is there any specific configuration which we are missing while deploying the docker-hub container to azure web app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions