example_config.json 905 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "port": 8080,
  3. "bindIp": "127.0.0.1",
  4. "idleTimeout": 30000,
  5. "rootGitDirectory": "/tmp/wlgb",
  6. "allowedCorsOrigins": "https://localhost",
  7. "apiBaseUrl": "https://localhost/api/v0",
  8. "postbackBaseUrl": "https://localhost",
  9. "serviceName": "Overleaf",
  10. "oauth2": {
  11. "oauth2ClientID": "asdf",
  12. "oauth2ClientSecret": "asdf",
  13. "oauth2Server": "https://localhost"
  14. },
  15. "repoStore": {
  16. "maxFileNum": 2000,
  17. "maxFileSize": 52428800
  18. },
  19. "swapStore": {
  20. "type": "s3",
  21. "awsAccessKey": "asdf",
  22. "awsSecret": "asdf",
  23. "s3BucketName": "com.overleaf.testbucket",
  24. "awsRegion": "us-east-1"
  25. },
  26. "swapJob": {
  27. "minProjects": 50,
  28. "lowGiB": 128,
  29. "highGiB": 256,
  30. "intervalMillis": 3600000,
  31. "compressionMethod": "gzip"
  32. },
  33. "sqliteHeapLimitBytes": 512000000
  34. }