Seeding tables to Storage account in the mcr.microsoft.com/azure-storage/azurite
docker container.
In the docker-compose.yml
file:
version: '3.1'
services:
storage:
image: mcr.microsoft.com/azure-storage/azurite
restart: on-failure
ports:
- 10001:10001 # blob storage
- 10002:10002 # table storage
storage-seed:
build:
context: ./storage-seed
dockerfile: dockerfile
environment:
- TABLES=Table1,Table2
- HOST_NAME=storage
depends_on:
- storage