Sign inSign up

therik/lfs-test-server

By therik

•Updated about 11 years ago

Github's LFS Test Server Dockerized

Image
1

1.0K

therik/lfs-test-server repository overview

LFS Test Server is an example server for Git LFS client.

Upstream: https://github.com/github/lfs-test-server⁠

⁠Usage

  1. Run lfs-test-server container: docker run --name git-lfs -d -p 8080:8080 -v /var/git-lfs:/var/git-lfs [-e LFS_ADMINUSER=<login>] [-e LFS_ADMINPASS=<password>] [LFS_HOST=<address>:8080] therik/lfs-test-server Where: -v /var/git-lfs:/var/git-lfs - mapping LFS server dorectory with content and database to your file system; -e LFS_ADMINUSER=<login> - optional parameter with LFS server administrator login (default: admin) -e LFS_ADMINPASS=<password> - optional parameter with LFS server administrator password (default: admin); LFS_HOST=<address> - address your docker machine.
  2. Add user's to LFS server via web interface: Open URL http://:8080/mgmt/users in your browser using LFS server administrator login/password and add users.
  3. Сonfigure it in the your git repository's .gitconfig file: [lfs] url = "http://<user>:<password>@<address>:8080/<user>/lfsrepo" Where: <user> - registered user name; <password> - registered user password. <address> - address your docker machine.
  4. Commit large files to server using the documentation to LFS client⁠.

Tag summary

Content type

Image

Digest

sha256:969f55125…

Size

51.6 MB

Last updated

about 11 years ago

docker pull therik/lfs-test-server