config.example.json - git - Webernet Explorer _X
git 🏠 Home 👤 Sign up Self hosted git, retro shell
★ otgit, code hosting from the year 2000 ★
📄 octuna / config.example.json
57 lines · 1.4 KB · Raw
1{
2 "site": {
3 "name": "git",
4 "publicUrl": "http://git.example.com",
5 "bindHost": "0.0.0.0",
6 "port": 8080,
7 "tagline": "Self hosted git, retro shell"
8 },
9 "auth": {
10 "sessionSecret": "",
11 "sessionMaxAgeDays": 365,
12 "scryptN": 16384,
13 "allowSignup": true
14 },
15 "repos": {
16 "maxPerUser": 100,
17 "maxRepoSizeMB": 1024,
18 "defaultVisibility": "public",
19 "allowPrivate": true,
20 "defaultBranch": "main",
21 "maxRenderBlobMB": 1,
22 "maxRenderDiffLines": 5000,
23 "rootDir": "data/repos"
24 },
25 "limits": {
26 "login": { "max": 8, "windowMin": 15 },
27 "signup": { "max": 5, "windowMin": 60 },
28 "write": { "max": 60, "windowMin": 10 },
29 "push": { "max": 20, "windowMin": 10 },
30 "uploadMaxMB": 100
31 },
32 "security": {
33 "trustProxy": false,
34 "cookieSecure": "auto",
35 "csp": "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; object-src 'none'; base-uri 'none'; form-action 'self'"
36 },
37 "ui": {
38 "addressBarMode": "real",
39 "addressBarFixed": "",
40 "marqueeText": "otgit, code hosting from the year 2000",
41 "footerText": "Best viewed in any browser at 800x600",
42 "themeColor": "teal"
43 },
44 "git": {
45 "binPath": "git",
46 "httpBackendPath": ""
47 },
48 "admin": {
49 "user": "",
50 "passwordHash": "",
51 "passwordSalt": ""
52 },
53 "log": {
54 "level": "info"
55 }
56}
57 
Done 🔒 Internet