GitSwarm-EE 2017.1-1 Documentation


GitSwarm EE Git LFS Administration

Documentation on how to use Git LFS are under Managing large binary files with Git LFS doc.

Requirements

Configuration

Git LFS objects can be large in size. By default, they are stored on the server GitSwarm EE is installed on.

There are two configuration options to help GitSwarm EE server administrators:

Package installations

In /etc/gitswarm/gitswarm.rb:

gitlab_rails['lfs_enabled'] = false

# Optionally, change the storage path location. Defaults to
# `#{gitlab_rails['shared_path']}/lfs-objects`. Which evaluates to
# `/var/opt/gitswarm/gitlab-rails/shared/lfs-objects` by default.
gitlab_rails['lfs_storage_path'] = "/mnt/storage/lfs-objects"

Installations from source

In config/gitlab.yml:

  lfs:
    enabled: false
    storage_path: /mnt/storage/lfs-objects

Known limitations