config.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "type": "object",
  4. "additionalProperties": false,
  5. "properties": {
  6. "SEARCH_BACKEND_SONIC_HOST_NAME": {
  7. "type": "string",
  8. "default": "127.0.0.1",
  9. "x-aliases": ["SEARCH_BACKEND_HOST_NAME", "SONIC_HOST"],
  10. "description": "Sonic server hostname"
  11. },
  12. "SEARCH_BACKEND_SONIC_PORT": {
  13. "type": "integer",
  14. "default": 1491,
  15. "minimum": 1,
  16. "maximum": 65535,
  17. "x-aliases": ["SEARCH_BACKEND_PORT", "SONIC_PORT"],
  18. "description": "Sonic server port"
  19. },
  20. "SEARCH_BACKEND_SONIC_PASSWORD": {
  21. "type": "string",
  22. "default": "SecretPassword",
  23. "x-aliases": ["SEARCH_BACKEND_PASSWORD", "SONIC_PASSWORD"],
  24. "description": "Sonic server password"
  25. },
  26. "SEARCH_BACKEND_SONIC_COLLECTION": {
  27. "type": "string",
  28. "default": "archivebox",
  29. "x-aliases": ["SONIC_COLLECTION"],
  30. "description": "Sonic collection name"
  31. },
  32. "SEARCH_BACKEND_SONIC_BUCKET": {
  33. "type": "string",
  34. "default": "snapshots",
  35. "x-aliases": ["SONIC_BUCKET"],
  36. "description": "Sonic bucket name"
  37. }
  38. }
  39. }