Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
ochorocho committed Jul 1, 2018
1 parent 63e0f4a commit 83cc1e2
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,9 @@ gem install gitlab-mirror-pull

:warning: Make sure you run the script/server as `git` user. This is default for omnibus installation but may differ. In case you run the binary directly use this command `sudo -u git -H gitlab-mirror-pull`

### Configuration (config.yml)

```yaml
git:
path: "/usr/bin/git"
repos: "/var/opt/gitlab/git-data/repositories" # Default path of gitlab omnibus installation
ignore:
- "group-name/project-name" # Ignore single repo
- "group-name" # Ignore entire group
provider: # provider equals to "remote" set in your repository
- "github"
- "gitlab"
server:
port: 8088
bind: "localhost"
mail:
sender: "[email protected]"
receiver: "[email protected]"
send_on_error: false
send_report: false
```
### Example configuration

see [config.yml](https://github.com/ochorocho/gitlab-mirror-pull/blob/master/config.example.yml)

### Run

Expand Down

0 comments on commit 83cc1e2

Please sign in to comment.