Skip to content

Commit

Permalink
Docker entrypoint: authentication for Azure Blob
Browse files Browse the repository at this point in the history
When using the s3proxy as a proxy for S3 -> Azure Blob Storage, one needs to set the authentication parameters. When running in a container, these can be exposed via environment variables, but are currently not passed through to the jclouds config.
  • Loading branch information
christophkreutzer authored and gaul committed Jun 21, 2022
1 parent 2972304 commit 1d450fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/run-docker-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@ exec java \
-Djclouds.keystone.scope="${JCLOUDS_KEYSTONE_SCOPE}" \
-Djclouds.keystone.project-domain-name="${JCLOUDS_KEYSTONE_PROJECT_DOMAIN_NAME}" \
-Djclouds.filesystem.basedir="${JCLOUDS_FILESYSTEM_BASEDIR}" \
-Djclouds.azureblob.tenantId="${JCLOUDS_AZUREBLOB_TENANTID}" \
-Djclouds.azureblob.auth="${JCLOUDS_AZUREBLOB_AUTH}" \
-Djclouds.azureblob.account="${JCLOUDS_AZUREBLOB_ACCOUNT}" \
-jar /opt/s3proxy/s3proxy \
--properties /dev/null

0 comments on commit 1d450fa

Please sign in to comment.