jean553 / docker-s3-server-dev

A simple S3 server instance for development environments in Docker.
MIT License
1 stars 6 forks source link

Be able to give a `policy.xml` by environment variable #7

Open allanlegalstart opened 5 years ago

allanlegalstart commented 5 years ago

s3rver let you specificy your cors policy through the --cors option at launch , which is especially useful when you want to let your user to upload document to s3 (through signed url)

it would be great to expose this possibility through an environment variable

jean553 commented 5 years ago

Hi! Thanks for the suggestion. Here a PR I have just made: https://github.com/jean553/docker-s3-server-dev/pull/8/files. Let you check and provide me your feedback if it matches your need.