mohit sharma
mohit sharma

Reputation: 650

Mount azure storage account in docker-compose

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: {}

Upvotes: 1

Views: 3293

Answers (1)

Sajeetharan
Sajeetharan

Reputation: 222657

You can just pass the url of the blob path,

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

here is an example

Upvotes: 1

Related Questions