Skip to content

HTTP proxy with REST API to interact with Google Cloud Storage Buckets

License

Notifications You must be signed in to change notification settings

zencargo/google-storage-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to update image and push to dockerHub

This repo is a fork from https://github.com/cirruslabs/google-storage-proxy.

The project is not really maintained so we decided to make changes to the code in our fork and push them to our dockerHub.

  • First, create a branch with updated changes.

  • run docker login in your terminal

  • Check the docker hub repository to make sure you don't build/push with a tag name that already exits.

  • https://hub.docker.com/repository/docker/zencargo/google-storage-proxy/general

  • docker buildx build --platform linux/amd64 -t zencargo/google-storage-proxy:tagname .

  • Test deploying image locally in docker-desktop.

  • If you're happy with the changes you can push to dockerhub.

  • docker buildx build --platform linux/amd64 -t zencargo/google-storage-proxy:tagname --push .


HTTP proxy with REST API to interact with Google Cloud Storage Buckets

Simply allows using HEAD, GET or PUT requests to check blob's availability, as well as downloading or uploading blobs to a specified GCS bucket.

Prebuilt Docker image is available on Docker Hub:

docker pull zencargo/google-storage-proxy:v3

Arguments

  • port - optional port to run the proxy on. By default, 8080 is used.
  • bucket - GCS bucket name to store artifacts in. You can configure Lifecycle Management for this bucket separately using gcloud or UI.
  • prefix - optional prefix for all objects. For example, use --prefix=foo/ to work under foo directory in bucket.

About

HTTP proxy with REST API to interact with Google Cloud Storage Buckets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 94.6%
  • Dockerfile 5.4%