Hosting on Azure Web Apps for containers

I’m trying to setup the node red docker image in Azure Web Apps for containers but I can't get the /data directory mounted to the /home directory for data persistence.

I have tried to use the modified image from and this works, but I think it should be possible to use the standard and latest node red docker image and add the startup command parameter -v /home/data:/data when setting up the container in Azure.

Have anyone succeeded to setup this?


I solved it by using Docker Compose:

container_name: node-RED
image: nodered/node-red:latest
- ${WEBAPP_STORAGE_HOME}/node-red:/data
- "1880:1880"
restart: always

1 Like