💾 Archived View for gemini.rmf-dev.com › repo › Vaati › Gemigit › files › 27412d17ca806069d7dacb84b0… captured on 2023-12-28 at 15:32:21. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
0 title: "Gemigit" # title on the main page
1 database:
2 type: "sqlite" # supported : sqlite(doesn't require cgo), sqlite3, mysql
3 url: "gemigit.db" # connection string or sqlite3 database path
4
5 gemini:
6 certificate: "cert.pem" # SSL certificate
7 key: "key.pem" # private key
8 address: "0.0.0.0" # address to listen on
9 port: 1965 # bind port for gemini request
10 templates: "./templates/" # templates directory
11 staticDirectory: "./static" # serve a static directory (optional)
12
13 git:
14 http:
15 enabled: false # serve git repositories using http
16 https: false # show https instead of http in the repository pages
17 domain: "localhost:5555" # domain displayed for the http git server
18 address: "0.0.0.0" # address to listen on
19 port: 5555 # bind port for http git request
20 ssh:
21 enabled: true # serve git repositories using ssh
22 domain: "localhost:2222" # domain displayed for the ssh git server
23 address: "0.0.0.0" # address to listen on
24 port: 2222 # bind port for ssh git request
25 remote:
26 enabled: false # read from a remote git server
27 address: "https://git.example.com" # address to fetch repositories from
28 key: "CHANGEME" # master key to send to the remote server
29 path: "./repos" # path to repositories directory
30 public: true # allow non-registered users to see public repositories
31 maximumCommits: 100 # maximum number of commits shown on log pages
32 #key: "CHANGEME" # master key having read/write access on all repositories
33
34 ldap:
35 enabled: false # logging using ldap credential
36 url: "ldaps://ldap.example.com" # url to the ldap server
37 attribute: "cn" # attribute associated with the username
38 binding: "ou=users,dc=example,dc=com"
39
40 users:
41 registration: true # allow registration, will be disabled if ldap is enabled
42
43 protection:
44 ip: 10 # Maximum connection attempts before the ip is blocked
45 account: 30 # Maximum connection attempts before the account is blocked
46 registration: 5 # Maximum number of registration per ip
47 reset: 120 # Number of seconds before clearing the block on ip/accounts
48