💾 Archived View for gemini.rmf-dev.com › repo › Vaati › Gemigit › files › 25f1c01c44aa67b5d536648dae… captured on 2023-11-14 at 08:18:05. 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 https: false # show https instead of http in the repository pages
15 domain: "localhost" # domain for the http git request
16 remote:
17 enabled: false # read from a remote git server
18 address: "https://git.example.com" # address to fetch repositories from
19 key: "CHANGEME" # master key to send to the remote server
20 address: "0.0.0.0" # address to listen on, disabled if remote is enabled
21 port: 5555 # bind port for http git request, disabled if remote is enabled
22 public: true # allow non-registered users to see public repositories
23 maximumCommits: 100 # maximum number of commits shown on log pages
24 #key: "CHANGEME" # master key having read/write access on all repositories
25
26 ldap:
27 enabled: false # logging using ldap credential
28 url: "ldaps://ldap.example.com" # url to the ldap server
29 attribute: "cn" # attribute associated with the username
30 binding: "ou=users,dc=example,dc=com"
31
32 users:
33 registration: true # allow registration, will be disabled if ldap is enabled
34
35 protection:
36 ip: 10 # Maximum connection attempts before the ip is blocked
37 account: 30 # Maximum connection attempts before the account is blocked
38 registration: 5 # Maximum number of registration per ip
39 reset: 120 # Number of seconds before clearing the block on ip/accounts
40