diff --git a/Dockerfile b/Dockerfile index cb02bb7..6d92bf4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ ENV \ S3PROXY_AUTHORIZATION="aws-v2" \ S3PROXY_IDENTITY="local-identity" \ S3PROXY_CREDENTIAL="local-credential" \ + S3PROXY_CORS_ALLOW_ALL="false" \ JCLOUDS_PROVIDER="filesystem" \ JCLOUDS_ENDPOINT="" \ JCLOUDS_IDENTITY="remote-identity" \ diff --git a/src/main/resources/run-docker-container.sh b/src/main/resources/run-docker-container.sh index 1a964cb..ae4e447 100755 --- a/src/main/resources/run-docker-container.sh +++ b/src/main/resources/run-docker-container.sh @@ -6,6 +6,7 @@ exec java \ -Ds3proxy.authorization=${S3PROXY_AUTHORIZATION} \ -Ds3proxy.identity=${S3PROXY_IDENTITY} \ -Ds3proxy.credential=${S3PROXY_CREDENTIAL} \ + -Ds3proxy.cors-allow-all=${S3PROXY_CORS_ALLOW_ALL} \ -Djclouds.provider=${JCLOUDS_PROVIDER} \ -Djclouds.identity=${JCLOUDS_IDENTITY} \ -Djclouds.credential=${JCLOUDS_CREDENTIAL} \