HUB
Sign inSign up
google-cloud-storage-mount logo

smallimprovements/google-cloud-storage-mount

By smallimprovements

•Updated over 8 years ago

Copies app engine logs from a cloud storage bucket to a local dir

Image
1

1M+

smallimprovements/google-cloud-storage-mount repository overview

⁠google-cloud-storage-mount
  • Rsync's the Appengine logs from a Google Cloud storage bucket to /mnt/logfiles_incoming
  • The image takes the following parameters:
    • -e BUCKET : bucket name
    • -e PROJECT_ID : project id
  • Credentials need to be mounted as /etc/gcsfuse/gs_service_key_file.json

Usage

docker run\
  --name cloud-storage-logs\  
  --rm\
  -e GOOGLE_APPLICATION_CREDENTIALS=/etc/gcsfuse/key.json\
  -e BUCKET=small-improvements-logs-eu\
  -e PROJECT_ID=small-eu\  
  -v /etc/gcsfuse/key-small-improvements-prod-eu.json:/etc/gcsfuse/gs_service_key_file.json\
  -v /mnt/logfiles_incoming_eu:/mnt/logfiles_incoming\  
  smallimprovements/google-cloud-storage-mount
Tag summary
Recent tags
Content type
Image
Digest
Size
16.5 MB
Last updated
over 8 years ago
docker pull smallimprovements/google-cloud-storage-mount:latest