Serve Google Storage files via HTTP
402
Source: https://fale.io/blog/2018/04/12/an-http-server-to-serve-gcs-files/
Following environment variables can be set:
If not overridden by environment variables, Dockerfile assumes LOGGING=true and PORT=8080.
docker build -t google-storage-http .
docker run -e BUCKET=bucket_name \
-e GOOGLE_APPLICATION_CREDENTIALS=/etc/gcloud/service_account_key.json \
-v "$HOME/.config/gcloud/bucket-service-account.json:/etc/gcloud/service_account_key.json" \
google-storage-http
Content type
Image
Digest
Size
10 MB
Last updated
about 7 years ago
docker pull tomologic/google-storage-http