{
  "site": {
    "name": "git",
    "publicUrl": "http://git.example.com",
    "bindHost": "0.0.0.0",
    "port": 8080,
    "tagline": "Self hosted git, retro shell"
  },
  "auth": {
    "sessionSecret": "",
    "sessionMaxAgeDays": 365,
    "scryptN": 16384,
    "allowSignup": true
  },
  "repos": {
    "maxPerUser": 100,
    "maxRepoSizeMB": 1024,
    "defaultVisibility": "public",
    "allowPrivate": true,
    "defaultBranch": "main",
    "maxRenderBlobMB": 1,
    "maxRenderDiffLines": 5000,
    "rootDir": "data/repos"
  },
  "limits": {
    "login": { "max": 8, "windowMin": 15 },
    "signup": { "max": 5, "windowMin": 60 },
    "write": { "max": 60, "windowMin": 10 },
    "push": { "max": 20, "windowMin": 10 },
    "uploadMaxMB": 100
  },
  "security": {
    "trustProxy": false,
    "cookieSecure": "auto",
    "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'"
  },
  "ui": {
    "addressBarMode": "real",
    "addressBarFixed": "",
    "marqueeText": "otgit, code hosting from the year 2000",
    "footerText": "Best viewed in any browser at 800x600",
    "themeColor": "teal"
  },
  "git": {
    "binPath": "git",
    "httpBackendPath": ""
  },
  "admin": {
    "user": "",
    "passwordHash": "",
    "passwordSalt": ""
  },
  "log": {
    "level": "info"
  }
}
