example_config.json 815 B

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