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