container-baseline-v1.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "version": "1.0.0",
  3. "runtime": {
  4. "image": "fmode/agent-node:0.21.3",
  5. "memoryLimit": "1536m",
  6. "nanoCpus": 1500000000,
  7. "pidsLimit": 512,
  8. "restartPolicy": "unless-stopped",
  9. "mount": {
  10. "hostPattern": "/opt/fmode-containers/<agentId>/data",
  11. "containerPath": "/opt/data"
  12. },
  13. "entrypoint": "/opt/data/.fmode-media-patch/entry.sh",
  14. "command": ["gateway", "run"],
  15. "hermesHome": "/opt/data",
  16. "timezone": "Asia/Shanghai"
  17. },
  18. "matrix": {
  19. "homeserver": "https://matrix.fmode.cn",
  20. "reactions": true,
  21. "requireMention": false,
  22. "maxMediaBytes": 838860800,
  23. "e2eeMode": "off",
  24. "threadProgressEvents": true
  25. },
  26. "reporting": {
  27. "heartbeatSeconds": 3600,
  28. "jitterMaxSeconds": 900,
  29. "appOfflineSeconds": 4800,
  30. "sessionIdleTtlSeconds": 600,
  31. "sessionFields": [
  32. "sessionKey",
  33. "userId",
  34. "status",
  35. "task",
  36. "stage",
  37. "action",
  38. "progress",
  39. "turnStartAt",
  40. "updatedAt",
  41. "ttlMs"
  42. ]
  43. },
  44. "directories": {
  45. "writableRuntimeParents": ["/opt/data/cache", "/opt/data/sessions", "/opt/data/work"],
  46. "taskWork": "/opt/data/work/tasks/<taskId>",
  47. "incomingFiles": "/opt/data/work/uploads",
  48. "deliverableStaging": "/opt/data/work/deliverables",
  49. "regenerableCache": "/opt/data/cache/regenerable",
  50. "platformSkills": "/opt/data/skills/platform",
  51. "customSkills": "/opt/data/skills/custom",
  52. "protectedState": [
  53. "/opt/data/cache/deliverable-hook",
  54. "/opt/data/sessions",
  55. "/opt/data/state.db",
  56. "/opt/data/.env",
  57. "/opt/data/plugins",
  58. "/opt/data/scripts"
  59. ]
  60. },
  61. "cleanup": {
  62. "intervalMinutes": 30,
  63. "inactiveSeconds": 3600,
  64. "uploadedFileGraceSeconds": 3600,
  65. "diskPressurePercent": 80,
  66. "diskPressureExpandsScope": false,
  67. "requiresCloudAck": true,
  68. "requiresAppRegistration": true,
  69. "contentDigest": "sha256",
  70. "requiresNoActiveSessionReference": true
  71. }
  72. }