Azure / Azurite

A lightweight server clone of Azure Storage that simulates most of the commands supported by it with minimal dependencies
MIT License
1.83k stars 325 forks source link

Parameters as enviroment variables #446

Open tcfialho opened 4 years ago

tcfialho commented 4 years ago

It's possible make all that parameters as enviroment variables for make easy run in docker-compose enviroment?

blueww commented 4 years ago

@tcfialho Thanks for raising the suggestion! We will priority it with other new feature request / fix, if this is a common request on Azurite.

connelhooley commented 4 years ago

This would be awesome if it was implemented. In the mean time, does anyone know of any workarounds for this until it is implemented?

My usecase: Run azurite in a docker container via docker compose with the path to the SSL cert and key specified.

Is that possible currently?

connelhooley commented 4 years ago

I think I've just got it working by creating my own docker file, maybe there's a better way though:

FROM node:13.6

RUN npm install -g azurite

CMD ["azurite", "--location", "/some/path/in/a/volume", "--cert", "/some/path/in/a/volume.pem", "--key", "/some/path/in/a/volume-key.pem"]