app_versions.json 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132
  1. {
  2. "1.0.18": {
  3. "healthy": true,
  4. "supported": true,
  5. "healthy_error": null,
  6. "location": "/__w/apps/apps/trains/community/affine/1.0.18",
  7. "last_update": "2025-09-02 11:33:24",
  8. "required_features": [],
  9. "human_version": "0.24.1_1.0.18",
  10. "version": "1.0.18",
  11. "app_metadata": {
  12. "app_version": "0.24.1",
  13. "capabilities": [],
  14. "categories": [
  15. "productivity"
  16. ],
  17. "changelog_url": "https://github.com/toeverything/AFFiNE/releases",
  18. "date_added": "2025-05-21",
  19. "description": "AFFiNE is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.",
  20. "home": "https://affine.pro",
  21. "host_mounts": [],
  22. "icon": "https://media.sys.truenas.net/apps/affine/icons/icon.svg",
  23. "keywords": [
  24. "planning",
  25. "knowledge base"
  26. ],
  27. "lib_version": "2.1.49",
  28. "lib_version_hash": "e71e6b0122c9446fa5ea6fb07e7eb01b11fb42d549a19845426bbd7e21a42634",
  29. "maintainers": [
  30. {
  31. "email": "dev@ixsystems.com",
  32. "name": "truenas",
  33. "url": "https://www.truenas.com/"
  34. }
  35. ],
  36. "name": "affine",
  37. "run_as_context": [
  38. {
  39. "description": "AFFiNE runs as root user.",
  40. "gid": 0,
  41. "group_name": "root",
  42. "uid": 0,
  43. "user_name": "root"
  44. },
  45. {
  46. "description": "Postgres runs as non-root user.",
  47. "gid": 999,
  48. "group_name": "postgres",
  49. "uid": 999,
  50. "user_name": "postgres"
  51. },
  52. {
  53. "description": "Redis runs as any non-root user.",
  54. "gid": 568,
  55. "group_name": "redis",
  56. "uid": 568,
  57. "user_name": "redis"
  58. }
  59. ],
  60. "screenshots": [],
  61. "sources": [
  62. "https://github.com/toeverything/AFFiNE"
  63. ],
  64. "title": "AFFiNE",
  65. "train": "community",
  66. "version": "1.0.18"
  67. },
  68. "schema": {
  69. "groups": [
  70. {
  71. "name": "AFFiNE Configuration",
  72. "description": "Configure AFFiNE"
  73. },
  74. {
  75. "name": "Network Configuration",
  76. "description": "Configure Network for AFFiNE"
  77. },
  78. {
  79. "name": "Storage Configuration",
  80. "description": "Configure Storage for AFFiNE"
  81. },
  82. {
  83. "name": "Labels Configuration",
  84. "description": "Configure Labels for AFFiNE"
  85. },
  86. {
  87. "name": "Resources Configuration",
  88. "description": "Configure Resources for AFFiNE"
  89. }
  90. ],
  91. "questions": [
  92. {
  93. "variable": "TZ",
  94. "group": "AFFiNE Configuration",
  95. "label": "Timezone",
  96. "schema": {
  97. "type": "string",
  98. "default": "Etc/UTC",
  99. "required": true,
  100. "$ref": [
  101. "definitions/timezone"
  102. ]
  103. }
  104. },
  105. {
  106. "variable": "affine",
  107. "label": "",
  108. "group": "AFFiNE Configuration",
  109. "schema": {
  110. "type": "dict",
  111. "attrs": [
  112. {
  113. "variable": "postgres_image_selector",
  114. "label": "Postgres Image (CAUTION)",
  115. "description": "If you are changing this after the postgres directory has been initialized,</br>\nSTOP! and make sure you have a backup of your data.</br>\nChanging this will trigger an one way database upgrade.</br>\nYou can only select newer versions of postgres.</br>\nSelecting an older version will refuse to start.</br>\nIf something goes wrong, you will have to restore from backup.\n",
  116. "schema": {
  117. "type": "string",
  118. "default": "postgres_17_image",
  119. "required": true,
  120. "enum": [
  121. {
  122. "value": "postgres_17_image",
  123. "description": "Postgres 17"
  124. }
  125. ]
  126. }
  127. },
  128. {
  129. "variable": "db_password",
  130. "label": "Database Password",
  131. "description": "The password for AFFiNE.",
  132. "schema": {
  133. "type": "string",
  134. "default": "",
  135. "required": true,
  136. "private": true
  137. }
  138. },
  139. {
  140. "variable": "redis_password",
  141. "label": "Redis Password",
  142. "schema": {
  143. "type": "string",
  144. "default": "",
  145. "required": true,
  146. "private": true
  147. }
  148. },
  149. {
  150. "variable": "additional_envs",
  151. "label": "Additional Environment Variables",
  152. "schema": {
  153. "type": "list",
  154. "default": [],
  155. "items": [
  156. {
  157. "variable": "env",
  158. "label": "Environment Variable",
  159. "schema": {
  160. "type": "dict",
  161. "attrs": [
  162. {
  163. "variable": "name",
  164. "label": "Name",
  165. "schema": {
  166. "type": "string",
  167. "required": true
  168. }
  169. },
  170. {
  171. "variable": "value",
  172. "label": "Value",
  173. "schema": {
  174. "type": "string"
  175. }
  176. }
  177. ]
  178. }
  179. }
  180. ]
  181. }
  182. }
  183. ]
  184. }
  185. },
  186. {
  187. "variable": "network",
  188. "label": "",
  189. "group": "Network Configuration",
  190. "schema": {
  191. "type": "dict",
  192. "attrs": [
  193. {
  194. "variable": "web_port",
  195. "label": "WebUI Port",
  196. "schema": {
  197. "type": "dict",
  198. "attrs": [
  199. {
  200. "variable": "bind_mode",
  201. "label": "Port Bind Mode",
  202. "description": "The port bind mode.</br>\n- Publish: The port will be published on the host for external access.</br>\n- Expose: The port will be exposed for inter-container communication.</br>\n- None: The port will not be exposed or published.</br>\nNote: If the Dockerfile defines an EXPOSE directive,\nthe port will still be exposed for inter-container communication regardless of this setting.\n",
  203. "schema": {
  204. "type": "string",
  205. "default": "published",
  206. "enum": [
  207. {
  208. "value": "published",
  209. "description": "Publish port on the host for external access"
  210. },
  211. {
  212. "value": "exposed",
  213. "description": "Expose port for inter-container communication"
  214. },
  215. {
  216. "value": "",
  217. "description": "None"
  218. }
  219. ]
  220. }
  221. },
  222. {
  223. "variable": "port_number",
  224. "label": "Port Number",
  225. "schema": {
  226. "type": "int",
  227. "default": 30169,
  228. "min": 1,
  229. "max": 65535,
  230. "required": true
  231. }
  232. },
  233. {
  234. "variable": "host_ips",
  235. "label": "Host IPs",
  236. "description": "IPs on the host to bind this port",
  237. "schema": {
  238. "type": "list",
  239. "show_if": [
  240. [
  241. "bind_mode",
  242. "=",
  243. "published"
  244. ]
  245. ],
  246. "default": [],
  247. "items": [
  248. {
  249. "variable": "host_ip",
  250. "label": "Host IP",
  251. "schema": {
  252. "type": "string",
  253. "required": true,
  254. "$ref": [
  255. "definitions/node_bind_ip"
  256. ]
  257. }
  258. }
  259. ]
  260. }
  261. }
  262. ]
  263. }
  264. }
  265. ]
  266. }
  267. },
  268. {
  269. "variable": "storage",
  270. "label": "",
  271. "group": "Storage Configuration",
  272. "schema": {
  273. "type": "dict",
  274. "attrs": [
  275. {
  276. "variable": "config",
  277. "label": "AFFiNE Config Storage",
  278. "schema": {
  279. "type": "dict",
  280. "attrs": [
  281. {
  282. "variable": "type",
  283. "label": "Type",
  284. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  285. "schema": {
  286. "type": "string",
  287. "required": true,
  288. "default": "ix_volume",
  289. "enum": [
  290. {
  291. "value": "host_path",
  292. "description": "Host Path (Path that already exists on the system)"
  293. },
  294. {
  295. "value": "ix_volume",
  296. "description": "ixVolume (Dataset created automatically by the system)"
  297. }
  298. ]
  299. }
  300. },
  301. {
  302. "variable": "ix_volume_config",
  303. "label": "ixVolume Configuration",
  304. "description": "The configuration for the ixVolume dataset.",
  305. "schema": {
  306. "type": "dict",
  307. "show_if": [
  308. [
  309. "type",
  310. "=",
  311. "ix_volume"
  312. ]
  313. ],
  314. "$ref": [
  315. "normalize/ix_volume"
  316. ],
  317. "attrs": [
  318. {
  319. "variable": "acl_enable",
  320. "label": "Enable ACL",
  321. "description": "Enable ACL for the storage.",
  322. "schema": {
  323. "type": "boolean",
  324. "default": false
  325. }
  326. },
  327. {
  328. "variable": "dataset_name",
  329. "label": "Dataset Name",
  330. "description": "The name of the dataset to use for storage.",
  331. "schema": {
  332. "type": "string",
  333. "required": true,
  334. "hidden": true,
  335. "default": "config"
  336. }
  337. },
  338. {
  339. "variable": "acl_entries",
  340. "label": "ACL Configuration",
  341. "schema": {
  342. "type": "dict",
  343. "show_if": [
  344. [
  345. "acl_enable",
  346. "=",
  347. true
  348. ]
  349. ],
  350. "attrs": []
  351. }
  352. }
  353. ]
  354. }
  355. },
  356. {
  357. "variable": "host_path_config",
  358. "label": "Host Path Configuration",
  359. "schema": {
  360. "type": "dict",
  361. "show_if": [
  362. [
  363. "type",
  364. "=",
  365. "host_path"
  366. ]
  367. ],
  368. "attrs": [
  369. {
  370. "variable": "acl_enable",
  371. "label": "Enable ACL",
  372. "description": "Enable ACL for the storage.",
  373. "schema": {
  374. "type": "boolean",
  375. "default": false
  376. }
  377. },
  378. {
  379. "variable": "acl",
  380. "label": "ACL Configuration",
  381. "schema": {
  382. "type": "dict",
  383. "show_if": [
  384. [
  385. "acl_enable",
  386. "=",
  387. true
  388. ]
  389. ],
  390. "attrs": [],
  391. "$ref": [
  392. "normalize/acl"
  393. ]
  394. }
  395. },
  396. {
  397. "variable": "path",
  398. "label": "Host Path",
  399. "description": "The host path to use for storage.",
  400. "schema": {
  401. "type": "hostpath",
  402. "show_if": [
  403. [
  404. "acl_enable",
  405. "=",
  406. false
  407. ]
  408. ],
  409. "required": true
  410. }
  411. }
  412. ]
  413. }
  414. }
  415. ]
  416. }
  417. },
  418. {
  419. "variable": "uploads",
  420. "label": "AFFiNE Uploads Storage",
  421. "schema": {
  422. "type": "dict",
  423. "attrs": [
  424. {
  425. "variable": "type",
  426. "label": "Type",
  427. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  428. "schema": {
  429. "type": "string",
  430. "required": true,
  431. "default": "ix_volume",
  432. "enum": [
  433. {
  434. "value": "host_path",
  435. "description": "Host Path (Path that already exists on the system)"
  436. },
  437. {
  438. "value": "ix_volume",
  439. "description": "ixVolume (Dataset created automatically by the system)"
  440. }
  441. ]
  442. }
  443. },
  444. {
  445. "variable": "ix_volume_config",
  446. "label": "ixVolume Configuration",
  447. "description": "The configuration for the ixVolume dataset.",
  448. "schema": {
  449. "type": "dict",
  450. "show_if": [
  451. [
  452. "type",
  453. "=",
  454. "ix_volume"
  455. ]
  456. ],
  457. "$ref": [
  458. "normalize/ix_volume"
  459. ],
  460. "attrs": [
  461. {
  462. "variable": "acl_enable",
  463. "label": "Enable ACL",
  464. "description": "Enable ACL for the storage.",
  465. "schema": {
  466. "type": "boolean",
  467. "default": false
  468. }
  469. },
  470. {
  471. "variable": "dataset_name",
  472. "label": "Dataset Name",
  473. "description": "The name of the dataset to use for storage.",
  474. "schema": {
  475. "type": "string",
  476. "required": true,
  477. "hidden": true,
  478. "default": "uploads"
  479. }
  480. },
  481. {
  482. "variable": "acl_entries",
  483. "label": "ACL Configuration",
  484. "schema": {
  485. "type": "dict",
  486. "show_if": [
  487. [
  488. "acl_enable",
  489. "=",
  490. true
  491. ]
  492. ],
  493. "attrs": []
  494. }
  495. }
  496. ]
  497. }
  498. },
  499. {
  500. "variable": "host_path_config",
  501. "label": "Host Path Configuration",
  502. "schema": {
  503. "type": "dict",
  504. "show_if": [
  505. [
  506. "type",
  507. "=",
  508. "host_path"
  509. ]
  510. ],
  511. "attrs": [
  512. {
  513. "variable": "acl_enable",
  514. "label": "Enable ACL",
  515. "description": "Enable ACL for the storage.",
  516. "schema": {
  517. "type": "boolean",
  518. "default": false
  519. }
  520. },
  521. {
  522. "variable": "acl",
  523. "label": "ACL Configuration",
  524. "schema": {
  525. "type": "dict",
  526. "show_if": [
  527. [
  528. "acl_enable",
  529. "=",
  530. true
  531. ]
  532. ],
  533. "attrs": [],
  534. "$ref": [
  535. "normalize/acl"
  536. ]
  537. }
  538. },
  539. {
  540. "variable": "path",
  541. "label": "Host Path",
  542. "description": "The host path to use for storage.",
  543. "schema": {
  544. "type": "hostpath",
  545. "show_if": [
  546. [
  547. "acl_enable",
  548. "=",
  549. false
  550. ]
  551. ],
  552. "required": true
  553. }
  554. }
  555. ]
  556. }
  557. }
  558. ]
  559. }
  560. },
  561. {
  562. "variable": "postgres_data",
  563. "label": "Postgres Data Storage",
  564. "description": "The path to store Postgres Data.",
  565. "schema": {
  566. "type": "dict",
  567. "attrs": [
  568. {
  569. "variable": "type",
  570. "label": "Type",
  571. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  572. "schema": {
  573. "type": "string",
  574. "required": true,
  575. "default": "ix_volume",
  576. "enum": [
  577. {
  578. "value": "host_path",
  579. "description": "Host Path (Path that already exists on the system)"
  580. },
  581. {
  582. "value": "ix_volume",
  583. "description": "ixVolume (Dataset created automatically by the system)"
  584. }
  585. ]
  586. }
  587. },
  588. {
  589. "variable": "ix_volume_config",
  590. "label": "ixVolume Configuration",
  591. "description": "The configuration for the ixVolume dataset.",
  592. "schema": {
  593. "type": "dict",
  594. "show_if": [
  595. [
  596. "type",
  597. "=",
  598. "ix_volume"
  599. ]
  600. ],
  601. "$ref": [
  602. "normalize/ix_volume"
  603. ],
  604. "attrs": [
  605. {
  606. "variable": "acl_enable",
  607. "label": "Enable ACL",
  608. "description": "Enable ACL for the storage.",
  609. "schema": {
  610. "type": "boolean",
  611. "default": false
  612. }
  613. },
  614. {
  615. "variable": "dataset_name",
  616. "label": "Dataset Name",
  617. "description": "The name of the dataset to use for storage.",
  618. "schema": {
  619. "type": "string",
  620. "required": true,
  621. "hidden": true,
  622. "default": "pg_data"
  623. }
  624. },
  625. {
  626. "variable": "acl_entries",
  627. "label": "ACL Configuration",
  628. "schema": {
  629. "type": "dict",
  630. "show_if": [
  631. [
  632. "acl_enable",
  633. "=",
  634. true
  635. ]
  636. ],
  637. "attrs": []
  638. }
  639. }
  640. ]
  641. }
  642. },
  643. {
  644. "variable": "host_path_config",
  645. "label": "Host Path Configuration",
  646. "schema": {
  647. "type": "dict",
  648. "show_if": [
  649. [
  650. "type",
  651. "=",
  652. "host_path"
  653. ]
  654. ],
  655. "attrs": [
  656. {
  657. "variable": "acl_enable",
  658. "label": "Enable ACL",
  659. "description": "Enable ACL for the storage.",
  660. "schema": {
  661. "type": "boolean",
  662. "default": false
  663. }
  664. },
  665. {
  666. "variable": "acl",
  667. "label": "ACL Configuration",
  668. "schema": {
  669. "type": "dict",
  670. "show_if": [
  671. [
  672. "acl_enable",
  673. "=",
  674. true
  675. ]
  676. ],
  677. "attrs": [],
  678. "$ref": [
  679. "normalize/acl"
  680. ]
  681. }
  682. },
  683. {
  684. "variable": "path",
  685. "label": "Host Path",
  686. "description": "The host path to use for storage.",
  687. "schema": {
  688. "type": "hostpath",
  689. "show_if": [
  690. [
  691. "acl_enable",
  692. "=",
  693. false
  694. ]
  695. ],
  696. "required": true
  697. }
  698. },
  699. {
  700. "variable": "auto_permissions",
  701. "label": "Automatic Permissions",
  702. "description": "Automatically set permissions for the host path.\nEnabling this, will check the top level directory,</br>\nIf it finds incorrect permissions, it will `chown` the\nhost path to the user and group required for the\npostgres container.\n",
  703. "schema": {
  704. "type": "boolean",
  705. "default": false,
  706. "show_if": [
  707. [
  708. "acl_enable",
  709. "=",
  710. false
  711. ]
  712. ]
  713. }
  714. }
  715. ]
  716. }
  717. }
  718. ]
  719. }
  720. },
  721. {
  722. "variable": "additional_storage",
  723. "label": "Additional Storage",
  724. "schema": {
  725. "type": "list",
  726. "default": [],
  727. "items": [
  728. {
  729. "variable": "storageEntry",
  730. "label": "Storage Entry",
  731. "schema": {
  732. "type": "dict",
  733. "attrs": [
  734. {
  735. "variable": "type",
  736. "label": "Type",
  737. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.</br>\nSMB Share: Is a SMB share that is mounted to as a volume.\n",
  738. "schema": {
  739. "type": "string",
  740. "required": true,
  741. "default": "ix_volume",
  742. "enum": [
  743. {
  744. "value": "host_path",
  745. "description": "Host Path (Path that already exists on the system)"
  746. },
  747. {
  748. "value": "ix_volume",
  749. "description": "ixVolume (Dataset created automatically by the system)"
  750. },
  751. {
  752. "value": "cifs",
  753. "description": "SMB/CIFS Share (Mounts a volume to a SMB share)"
  754. }
  755. ]
  756. }
  757. },
  758. {
  759. "variable": "read_only",
  760. "label": "Read Only",
  761. "description": "Mount the volume as read only.",
  762. "schema": {
  763. "type": "boolean",
  764. "default": false
  765. }
  766. },
  767. {
  768. "variable": "mount_path",
  769. "label": "Mount Path",
  770. "description": "The path inside the container to mount the storage.",
  771. "schema": {
  772. "type": "path",
  773. "required": true
  774. }
  775. },
  776. {
  777. "variable": "host_path_config",
  778. "label": "Host Path Configuration",
  779. "schema": {
  780. "type": "dict",
  781. "show_if": [
  782. [
  783. "type",
  784. "=",
  785. "host_path"
  786. ]
  787. ],
  788. "attrs": [
  789. {
  790. "variable": "acl_enable",
  791. "label": "Enable ACL",
  792. "description": "Enable ACL for the storage.",
  793. "schema": {
  794. "type": "boolean",
  795. "default": false
  796. }
  797. },
  798. {
  799. "variable": "acl",
  800. "label": "ACL Configuration",
  801. "schema": {
  802. "type": "dict",
  803. "show_if": [
  804. [
  805. "acl_enable",
  806. "=",
  807. true
  808. ]
  809. ],
  810. "attrs": [],
  811. "$ref": [
  812. "normalize/acl"
  813. ]
  814. }
  815. },
  816. {
  817. "variable": "path",
  818. "label": "Host Path",
  819. "description": "The host path to use for storage.",
  820. "schema": {
  821. "type": "hostpath",
  822. "show_if": [
  823. [
  824. "acl_enable",
  825. "=",
  826. false
  827. ]
  828. ],
  829. "required": true
  830. }
  831. }
  832. ]
  833. }
  834. },
  835. {
  836. "variable": "ix_volume_config",
  837. "label": "ixVolume Configuration",
  838. "description": "The configuration for the ixVolume dataset.",
  839. "schema": {
  840. "type": "dict",
  841. "show_if": [
  842. [
  843. "type",
  844. "=",
  845. "ix_volume"
  846. ]
  847. ],
  848. "$ref": [
  849. "normalize/ix_volume"
  850. ],
  851. "attrs": [
  852. {
  853. "variable": "acl_enable",
  854. "label": "Enable ACL",
  855. "description": "Enable ACL for the storage.",
  856. "schema": {
  857. "type": "boolean",
  858. "default": false
  859. }
  860. },
  861. {
  862. "variable": "dataset_name",
  863. "label": "Dataset Name",
  864. "description": "The name of the dataset to use for storage.",
  865. "schema": {
  866. "type": "string",
  867. "required": true,
  868. "default": "storage_entry"
  869. }
  870. },
  871. {
  872. "variable": "acl_entries",
  873. "label": "ACL Configuration",
  874. "schema": {
  875. "type": "dict",
  876. "show_if": [
  877. [
  878. "acl_enable",
  879. "=",
  880. true
  881. ]
  882. ],
  883. "attrs": [],
  884. "$ref": [
  885. "normalize/acl"
  886. ]
  887. }
  888. }
  889. ]
  890. }
  891. },
  892. {
  893. "variable": "cifs_config",
  894. "label": "SMB Configuration",
  895. "description": "The configuration for the SMB dataset.",
  896. "schema": {
  897. "type": "dict",
  898. "show_if": [
  899. [
  900. "type",
  901. "=",
  902. "cifs"
  903. ]
  904. ],
  905. "attrs": [
  906. {
  907. "variable": "server",
  908. "label": "Server",
  909. "description": "The server to mount the SMB share.",
  910. "schema": {
  911. "type": "string",
  912. "required": true
  913. }
  914. },
  915. {
  916. "variable": "path",
  917. "label": "Path",
  918. "description": "The path to mount the SMB share.",
  919. "schema": {
  920. "type": "string",
  921. "required": true
  922. }
  923. },
  924. {
  925. "variable": "username",
  926. "label": "Username",
  927. "description": "The username to use for the SMB share.",
  928. "schema": {
  929. "type": "string",
  930. "required": true
  931. }
  932. },
  933. {
  934. "variable": "password",
  935. "label": "Password",
  936. "description": "The password to use for the SMB share.",
  937. "schema": {
  938. "type": "string",
  939. "required": true,
  940. "private": true
  941. }
  942. },
  943. {
  944. "variable": "domain",
  945. "label": "Domain",
  946. "description": "The domain to use for the SMB share.",
  947. "schema": {
  948. "type": "string"
  949. }
  950. }
  951. ]
  952. }
  953. }
  954. ]
  955. }
  956. }
  957. ]
  958. }
  959. }
  960. ]
  961. }
  962. },
  963. {
  964. "variable": "labels",
  965. "label": "",
  966. "group": "Labels Configuration",
  967. "schema": {
  968. "type": "list",
  969. "default": [],
  970. "items": [
  971. {
  972. "variable": "label",
  973. "label": "Label",
  974. "schema": {
  975. "type": "dict",
  976. "attrs": [
  977. {
  978. "variable": "key",
  979. "label": "Key",
  980. "schema": {
  981. "type": "string",
  982. "required": true
  983. }
  984. },
  985. {
  986. "variable": "value",
  987. "label": "Value",
  988. "schema": {
  989. "type": "string",
  990. "required": true
  991. }
  992. },
  993. {
  994. "variable": "containers",
  995. "label": "Containers",
  996. "description": "Containers where the label should be applied",
  997. "schema": {
  998. "type": "list",
  999. "items": [
  1000. {
  1001. "variable": "container",
  1002. "label": "Container",
  1003. "schema": {
  1004. "type": "string",
  1005. "required": true,
  1006. "enum": [
  1007. {
  1008. "value": "affine",
  1009. "description": "affine"
  1010. },
  1011. {
  1012. "value": "postgres",
  1013. "description": "postgres"
  1014. },
  1015. {
  1016. "value": "redis",
  1017. "description": "redis"
  1018. }
  1019. ]
  1020. }
  1021. }
  1022. ]
  1023. }
  1024. }
  1025. ]
  1026. }
  1027. }
  1028. ]
  1029. }
  1030. },
  1031. {
  1032. "variable": "resources",
  1033. "label": "",
  1034. "group": "Resources Configuration",
  1035. "schema": {
  1036. "type": "dict",
  1037. "attrs": [
  1038. {
  1039. "variable": "limits",
  1040. "label": "Limits",
  1041. "schema": {
  1042. "type": "dict",
  1043. "attrs": [
  1044. {
  1045. "variable": "cpus",
  1046. "label": "CPUs",
  1047. "description": "CPUs limit for AFFiNE.",
  1048. "schema": {
  1049. "type": "int",
  1050. "default": 2,
  1051. "required": true
  1052. }
  1053. },
  1054. {
  1055. "variable": "memory",
  1056. "label": "Memory (in MB)",
  1057. "description": "Memory limit for AFFiNE.",
  1058. "schema": {
  1059. "type": "int",
  1060. "default": 4096,
  1061. "required": true
  1062. }
  1063. }
  1064. ]
  1065. }
  1066. }
  1067. ]
  1068. }
  1069. }
  1070. ]
  1071. },
  1072. "readme": "<h1>AFFiNE</h1> <p><a href=\"https://affine.pro/\">AFFiNE</a> is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.</p>",
  1073. "changelog": null,
  1074. "chart_metadata": {
  1075. "app_version": "0.24.1",
  1076. "capabilities": [],
  1077. "categories": [
  1078. "productivity"
  1079. ],
  1080. "changelog_url": "https://github.com/toeverything/AFFiNE/releases",
  1081. "date_added": "2025-05-21",
  1082. "description": "AFFiNE is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.",
  1083. "home": "https://affine.pro",
  1084. "host_mounts": [],
  1085. "icon": "https://media.sys.truenas.net/apps/affine/icons/icon.svg",
  1086. "keywords": [
  1087. "planning",
  1088. "knowledge base"
  1089. ],
  1090. "lib_version": "2.1.49",
  1091. "lib_version_hash": "e71e6b0122c9446fa5ea6fb07e7eb01b11fb42d549a19845426bbd7e21a42634",
  1092. "maintainers": [
  1093. {
  1094. "email": "dev@ixsystems.com",
  1095. "name": "truenas",
  1096. "url": "https://www.truenas.com/"
  1097. }
  1098. ],
  1099. "name": "affine",
  1100. "run_as_context": [
  1101. {
  1102. "description": "AFFiNE runs as root user.",
  1103. "gid": 0,
  1104. "group_name": "root",
  1105. "uid": 0,
  1106. "user_name": "root"
  1107. },
  1108. {
  1109. "description": "Postgres runs as non-root user.",
  1110. "gid": 999,
  1111. "group_name": "postgres",
  1112. "uid": 999,
  1113. "user_name": "postgres"
  1114. },
  1115. {
  1116. "description": "Redis runs as any non-root user.",
  1117. "gid": 568,
  1118. "group_name": "redis",
  1119. "uid": 568,
  1120. "user_name": "redis"
  1121. }
  1122. ],
  1123. "screenshots": [],
  1124. "sources": [
  1125. "https://github.com/toeverything/AFFiNE"
  1126. ],
  1127. "title": "AFFiNE",
  1128. "train": "community",
  1129. "version": "1.0.18"
  1130. }
  1131. }
  1132. }