forked from git-as-svn/git-as-svn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example
More file actions
88 lines (74 loc) · 2.64 KB
/
config.example
File metadata and controls
88 lines (74 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
!config:
# Specifies IP to listen to for client connections
#
# host: 0.0.0.0
# Specifies a port number to listen to for client connections
#
# port: 3690
# Sets the authentication realm of the repository. If two repositories have the same password database,
# they should have the same realm, and vice versa; this association allows
# clients to use a single cached password for several repositories.
# The default realm value is the repository's uuid.
#
# realm: Example realm
repositoryMapping: !listMapping
repositories:
example: !git
# Allowed push modes:
# - SIMPLE - use embedded push (hooks ignored, fast, no dependencies)
# - NATIVE - use console git for push (hooks worked, can be slow on some commits, requie installed console git)
pushMode: SIMPLE
# Allowed create modes:
# - ERROR - exit with error, if repository not exists
# - EMPTY - create empty repository
# - EXAMPLE - create repository with example data
createMode: EXAMPLE
branch: master
path: example.git
renameDetection: true
acl:
groups:
- name: developers
users:
- test
access:
- path: /
# Use 'asterisk' (*) to allow access for all users
# use 'at' (@) for groups
allowed:
- '@developers'
# Simple in-memory user database
userDB: !localUsers
users:
- username: test
# Clear-text password is required to perform CRAM-MD5 authentication
password: test
# Email and real name are used to create Git commits
email: test@noreply.fake
realName: Test User
# Authenticates a user by binding to the directory with the DN of the entry for that user and the password
# presented by the user. If this simple bind succeeds the user is considered to be authenticated.
#
#userDB: !ldapUsers
# This is a URL whose format is defined by the JNDI provider.
# It is usually an LDAP URL that specifies the domain name of the directory server to connect to,
# and optionally the port number and distinguished name (DN) of the required root naming context.
#
# connectionUrl: ldap://localhost:389/ou=groups,dc=mycompany,dc=com
# This is a file of LDAP SSL CA certificate.
#
# ldapCertPem: ldap.pem
# Pattern specifying the LDAP search filter to use after substitution of the username.
#
# userSearch: (mail={0})
# LDAP attribute, containing user name.
#
# nameAttribute: name
# LDAP attribute, containing user email.
#
# emailAttribute: mail
# The search scope. Set to `true` if you wish to search the entire subtree rooted at the
# userBase entry. The default value of `false` requests a single-level search
# including only the top level.
#
# userSubtree: false