I am working on dockrized app which is deployed in azure with app service "webApp for containers"
i am trying to link a blob storage account to my app i already created storage account and linked it to the my app at "path mappings" tab.
but i keep getting error saying : Exception in multi-container config parsing: (Line: 13, Col: 15, Idx: 336) - (Line: 13, Col: 37, Idx: 358): Bind mount must start with ${WEBAPP_STORAGE_HOME}.
i want to use my own volume, i dont want to bind it to local host storage.
what am i doing wrong?below is the configuration and the error of the compose file, i even removed all the other services just to make sure that there are no unexpected problems
version: '2'
services:
app:
container_name: almaz-backend
image: 'almazyregistry.azurecr.io/test/alamzo:latest'
restart: always
build: .
ports:
- '3000:3000'
environment:
- NODE_ENV=production
volumes:
- AppDataMount/logs:/logs
- AppDataMount/public:/public
volumes:
AppDataMount:
2019-12-01 19:42:52.559 ERROR - Exception in multi-container config parsing: (Line: 13, Col: 15, Idx: 336) - (Line: 13, Col: 37, Idx: 358): Bind mount must start with ${WEBAPP_STORAGE_HOME}.