diff --git a/Dockerfile b/Dockerfile index 32942c8..7a759fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,7 @@ ENV \ S3PROXY_ENCRYPTED_BLOBSTORE="" \ S3PROXY_ENCRYPTED_BLOBSTORE_PASSWORD="" \ S3PROXY_ENCRYPTED_BLOBSTORE_SALT="" \ + S3PROXY_READ_ONLY_BLOBSTORE="false" \ JCLOUDS_PROVIDER="filesystem" \ JCLOUDS_ENDPOINT="" \ JCLOUDS_REGION="" \ diff --git a/src/main/resources/run-docker-container.sh b/src/main/resources/run-docker-container.sh index d70dd57..7b601d8 100755 --- a/src/main/resources/run-docker-container.sh +++ b/src/main/resources/run-docker-container.sh @@ -21,6 +21,7 @@ exec java \ -Ds3proxy.encrypted-blobstore-password="${S3PROXY_ENCRYPTED_BLOBSTORE_PASSWORD}" \ -Ds3proxy.encrypted-blobstore-salt="${S3PROXY_ENCRYPTED_BLOBSTORE_SALT}" \ -Ds3proxy.v4-max-non-chunked-request-size="${S3PROXY_V4_MAX_NON_CHUNKED_REQ_SIZE:-33554432}" \ + -Ds3proxy.read-only-blobstore="${S3PROXY_READ_ONLY_BLOBSTORE:-false}" \ -Djclouds.provider="${JCLOUDS_PROVIDER}" \ -Djclouds.identity="${JCLOUDS_IDENTITY}" \ -Djclouds.credential="${JCLOUDS_CREDENTIAL}" \