Need to know the location of the application folder

Bowres Nathan 20 Reputation points
2024-04-17T13:09:27.0566667+00:00

I deployed my application in Linux Azure app service using docker-compose file. My application is working fine. Now I need to know where will be my application files will located and how I need to be access the file. I connected the instance using the kudu but there is no file related to my application. Could you please help me out.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,138 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,895 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
764 questions
0 comments No comments
{count} votes

Accepted answer
  1. Grmacjon-MSFT 16,011 Reputation points
    2024-04-17T20:54:09.9233333+00:00

    Hello @Bowres Nathan in Azure App Service deployed with Docker Compose on Linux, your application files are not directly accessible through Kudu or any other external service for security reasons. Here’s how you can access your application files:

    1. You can SSH into the running Docker container to access your application files. To do this, you can use the “SSH” option in the Azure portal
    2. If you need persistent storage that can be accessed from outside the container, you can use an Azure File Share. You can mount the Azure File Share to your web app and then read/write files directly to it.
    3. If you have access to the Docker host, you can use the docker exec command to run a shell inside your Docker container, which would allow you to access your application files.

0 additional answers

Sort by: Most helpful