Skip to content

YDKK/LFS2S3Proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LFS2S3Proxy

Git LFS Proxy (use Amazon S3 as datastore)
https://ydkk.hateblo.jp/entry/2017/12/07/120000

Usage

Edit config.example.json and save it as config.json.

s3bucketName: S3 bucket name
token: The token string which needs to include in the URL when accessing.
listen: HTTP server listen URL

You can install this as a Windows service.

> LFS2S3Proxy.exe install

To configure Git repository to use this proxy, run this command:

git config -f .lfsconfig lfs.url https://your.host.name/{token}/{repositoryName}

Enjoy!