1
votes

How can I Mount azure storage account as a volume in the docker-compose?

I checked this driver but it's deprecated and the link provided there, & it is inactive.

docker-compose.yml

version: '3.3'
services:
  web:
    image: web:74
    ports:
      - "3000:3000"
volumes:
  logvolume01: {}
1

1 Answers

1
votes

You can just pass the url of the blob path,

volumes:
  - ${WEBAPP_STORAGE_HOME}/zoo1/data:/data

here is an example