node-git-lfs
v0.0.1
Published
Git LFS server NodeJS implementation
Downloads
3,047
Readme
Node Git LFS
A NodeJS implementation of Git LFS Server.
Installation
npm install node-git-lfs
Configuration
All configurations can be done via environment variable or configuration file
Environment Variables
LFS_BASE_URL
- URL of the LFS server - requiredLFS_PORT
- HTTP portal of the LFS server, default to3000
- requiredLFS_STORE_TYPE
- Object store type, can be eithers3
(for AWS S3) orgrid
(for MongoDB GridFS), default tos3
- requiredLFS_AUTHENTICATOR_TYPE
- Authenticator type, can bebasic
(for basic username and password),none
(for no authentication), default tonone
- required
If storage type is s3
:
AWS_ACCESS_KEY
- AWS access key - requiredAWS_SECRET_KEY
- AWS secret key - requiredLFS_STORE_S3_BUCKET
- AWS S3 bucket - requiredLFS_STORE_S3_ENDPOINT
- AWS S3 endpoint, normally this will be set by regionLFS_STORE_S3_REGION
- AWS S3 region
If storage type is grid
:
LFS_STORE_GRID_CONNECTION
- MongoDB connection URL - required
If authenticator type is basic
:
LFS_AUTHENTICATOR_USERNAME
- Username - requiredLFS_AUTHENTICATOR_PASSWORD
- Password - requiredLFS_AUTHENTICATOR_CLIENT_PUBLIC_KEY
- Location of the client's public key
SSH Environment Variables
LFS_SSH_ENABLED
- Enable SSH server, default totrue
LFS_SSH_PORT
- SSH server port, default to2222
LFS_SSH_IP
- SSH server bind IP, default to0.0.0.0
LFS_SSH_PUBLIC_KEY
- SSH server public keyLFS_SSH_PRIVATE_KEY
- SSH server private key