Skip to content

Commit

Permalink
Added Docker environment variable "S3PROXY_CORS_ALLOW_ALL"
Browse files Browse the repository at this point in the history
refs issues gaul#142
refs Pull gaul#144

The default value is false
  • Loading branch information
oxycaster committed Feb 16, 2017
1 parent 5a3eacc commit c6e008d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Expand Up @@ -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" \
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/run-docker-container.sh
Expand Up @@ -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} \
Expand Down

0 comments on commit c6e008d

Please sign in to comment.