app_versions.json 81 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325
  1. {
  2. "1.2.6": {
  3. "healthy": true,
  4. "supported": true,
  5. "healthy_error": null,
  6. "location": "/__w/apps/apps/trains/community/terraria/1.2.6",
  7. "last_update": "2025-09-02 11:33:24",
  8. "required_features": [],
  9. "human_version": "tshock-1.4.4.9-5.2.4_1.2.6",
  10. "version": "1.2.6",
  11. "app_metadata": {
  12. "annotations": {
  13. "min_scale_version": "24.10.2.2"
  14. },
  15. "app_version": "tshock-1.4.4.9-5.2.4",
  16. "capabilities": [],
  17. "categories": [
  18. "games"
  19. ],
  20. "changelog_url": "https://github.com/ryansheehan/terraria/releases",
  21. "date_added": "2024-09-17",
  22. "description": "Terraria is a land of adventure! A land of mystery! A land that's yours to shape, defend, and enjoy.",
  23. "home": "https://terraria.org/",
  24. "host_mounts": [],
  25. "icon": "https://media.sys.truenas.net/apps/terraria/icons/icon.png",
  26. "keywords": [
  27. "adventure",
  28. "building",
  29. "game",
  30. "terraria",
  31. "world"
  32. ],
  33. "lib_version": "2.1.49",
  34. "lib_version_hash": "e71e6b0122c9446fa5ea6fb07e7eb01b11fb42d549a19845426bbd7e21a42634",
  35. "maintainers": [
  36. {
  37. "email": "dev@ixsystems.com",
  38. "name": "truenas",
  39. "url": "https://www.truenas.com/"
  40. }
  41. ],
  42. "name": "terraria",
  43. "run_as_context": [
  44. {
  45. "description": "Terraria runs as root user.",
  46. "gid": 0,
  47. "group_name": "root",
  48. "uid": 0,
  49. "user_name": "root"
  50. }
  51. ],
  52. "screenshots": [],
  53. "sources": [
  54. "https://terraria.org/",
  55. "https://github.com/ryansheehan/terraria"
  56. ],
  57. "title": "Terraria",
  58. "train": "community",
  59. "version": "1.2.6"
  60. },
  61. "schema": {
  62. "groups": [
  63. {
  64. "name": "Terraria Configuration",
  65. "description": "Configure Terraria"
  66. },
  67. {
  68. "name": "Network Configuration",
  69. "description": "Configure Network for Terraria"
  70. },
  71. {
  72. "name": "Storage Configuration",
  73. "description": "Configure Storage for Terraria"
  74. },
  75. {
  76. "name": "Labels Configuration",
  77. "description": "Configure Labels for Terraria"
  78. },
  79. {
  80. "name": "Resources Configuration",
  81. "description": "Configure Resources for Terraria"
  82. }
  83. ],
  84. "questions": [
  85. {
  86. "variable": "terraria",
  87. "label": "",
  88. "group": "Terraria Configuration",
  89. "schema": {
  90. "type": "dict",
  91. "attrs": [
  92. {
  93. "variable": "image_selector",
  94. "label": "Image",
  95. "description": "Selects the image to use for the Terraria server.</br>\nTShock is a fork of the Terraria server that adds a number of features.</br>\nVanilla is the original Terraria server. </br>\nOnly applies to newly generated worlds.\n",
  96. "schema": {
  97. "type": "string",
  98. "default": "image",
  99. "immutable": true,
  100. "required": true,
  101. "enum": [
  102. {
  103. "value": "image",
  104. "description": "TShock Image"
  105. },
  106. {
  107. "value": "vanilla_image",
  108. "description": "Vanilla Image"
  109. }
  110. ]
  111. }
  112. },
  113. {
  114. "variable": "world_name",
  115. "label": "World Name",
  116. "description": "Sets the world's name.</br>\nOnly applies to newly generated worlds.\n",
  117. "schema": {
  118. "type": "string",
  119. "default": "world",
  120. "valid_chars": "^[a-zA-Z0-9-]+$",
  121. "valid_chars_error": "World name must be [numbers, letters, and hyphens only]",
  122. "required": true,
  123. "immutable": true
  124. }
  125. },
  126. {
  127. "variable": "world_seed",
  128. "label": "World Seed",
  129. "description": "Sets the world's seed.</br>\nOnly applies to newly generated worlds.\n",
  130. "schema": {
  131. "type": "string",
  132. "default": "",
  133. "immutable": true
  134. }
  135. },
  136. {
  137. "variable": "world_evil",
  138. "label": "World Evil",
  139. "description": "Sets the world's evil state.</br>\nOnly applies to newly generated worlds.\n",
  140. "schema": {
  141. "type": "string",
  142. "default": "random",
  143. "required": true,
  144. "immutable": true,
  145. "enum": [
  146. {
  147. "value": "random",
  148. "description": "Random"
  149. },
  150. {
  151. "value": "corrupt",
  152. "description": "Corrupt"
  153. },
  154. {
  155. "value": "crimson",
  156. "description": "Crimson"
  157. }
  158. ]
  159. }
  160. },
  161. {
  162. "variable": "world_size",
  163. "label": "World Size",
  164. "description": "Sets the world's size.</br>\nOnly applies to newly generated worlds.\n",
  165. "schema": {
  166. "type": "string",
  167. "default": "small",
  168. "required": true,
  169. "immutable": true,
  170. "enum": [
  171. {
  172. "value": "small",
  173. "description": "Small (1)"
  174. },
  175. {
  176. "value": "medium",
  177. "description": "Medium (2)"
  178. },
  179. {
  180. "value": "large",
  181. "description": "Large (3)"
  182. }
  183. ]
  184. }
  185. },
  186. {
  187. "variable": "world_difficulty",
  188. "label": "World Difficulty",
  189. "description": "Sets the world's difficulty.</br>\nOnly applies to newly generated worlds.\n",
  190. "schema": {
  191. "type": "string",
  192. "default": "normal",
  193. "required": true,
  194. "immutable": true,
  195. "enum": [
  196. {
  197. "value": "normal",
  198. "description": "Normal (0)"
  199. },
  200. {
  201. "value": "expert",
  202. "description": "Expert (1)"
  203. },
  204. {
  205. "value": "master",
  206. "description": "Master (2)"
  207. },
  208. {
  209. "value": "journey",
  210. "description": "Journey (3)"
  211. }
  212. ]
  213. }
  214. },
  215. {
  216. "variable": "max_players",
  217. "label": "Maximum Players",
  218. "description": "Starts the server with the given player count as the maximum.",
  219. "schema": {
  220. "type": "int",
  221. "default": 8,
  222. "min": 1,
  223. "max": 255,
  224. "required": true
  225. }
  226. },
  227. {
  228. "variable": "password",
  229. "label": "Server Password",
  230. "description": "Sets the server password.",
  231. "schema": {
  232. "type": "string",
  233. "private": true,
  234. "default": ""
  235. }
  236. },
  237. {
  238. "variable": "secure",
  239. "label": "Secure Server",
  240. "description": "Turns on the base game's \"anti-spam\" feature.",
  241. "schema": {
  242. "type": "boolean",
  243. "default": false
  244. }
  245. },
  246. {
  247. "variable": "force_update",
  248. "label": "Force Update",
  249. "description": "Forces the server to continue running, and not hibernating when no players are on. </br>\nThis results in time passing, grass growing, and cpu running.\n",
  250. "schema": {
  251. "type": "boolean",
  252. "default": false
  253. }
  254. },
  255. {
  256. "variable": "additional_args",
  257. "label": "Additional Arguments",
  258. "description": "Configure additional arguments for Terraria. </br>\nValue is optional for flags like -heaptile </br>\nFor example: </br>\nKey: -lang </br>\nValue: en-US\n",
  259. "schema": {
  260. "type": "list",
  261. "default": [],
  262. "items": [
  263. {
  264. "variable": "arg",
  265. "label": "Argument",
  266. "schema": {
  267. "type": "dict",
  268. "attrs": [
  269. {
  270. "variable": "key",
  271. "label": "Key",
  272. "schema": {
  273. "type": "string",
  274. "required": true
  275. }
  276. },
  277. {
  278. "variable": "value",
  279. "label": "Value",
  280. "schema": {
  281. "type": "string"
  282. }
  283. }
  284. ]
  285. }
  286. }
  287. ]
  288. }
  289. },
  290. {
  291. "variable": "additional_envs",
  292. "label": "Additional Environment Variables",
  293. "schema": {
  294. "type": "list",
  295. "default": [],
  296. "items": [
  297. {
  298. "variable": "env",
  299. "label": "Environment Variable",
  300. "schema": {
  301. "type": "dict",
  302. "attrs": [
  303. {
  304. "variable": "name",
  305. "label": "Name",
  306. "schema": {
  307. "type": "string",
  308. "required": true
  309. }
  310. },
  311. {
  312. "variable": "value",
  313. "label": "Value",
  314. "schema": {
  315. "type": "string"
  316. }
  317. }
  318. ]
  319. }
  320. }
  321. ]
  322. }
  323. }
  324. ]
  325. }
  326. },
  327. {
  328. "variable": "network",
  329. "label": "",
  330. "group": "Network Configuration",
  331. "schema": {
  332. "type": "dict",
  333. "attrs": [
  334. {
  335. "variable": "server_port",
  336. "label": "Server Port",
  337. "schema": {
  338. "type": "dict",
  339. "attrs": [
  340. {
  341. "variable": "bind_mode",
  342. "label": "Port Bind Mode",
  343. "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",
  344. "schema": {
  345. "type": "string",
  346. "default": "",
  347. "enum": [
  348. {
  349. "value": "published",
  350. "description": "Publish port on the host for external access"
  351. },
  352. {
  353. "value": "exposed",
  354. "description": "Expose port for inter-container communication"
  355. },
  356. {
  357. "value": "",
  358. "description": "None"
  359. }
  360. ]
  361. }
  362. },
  363. {
  364. "variable": "port_number",
  365. "label": "Port Number",
  366. "schema": {
  367. "type": "int",
  368. "default": 30030,
  369. "min": 1,
  370. "max": 65535,
  371. "required": true
  372. }
  373. },
  374. {
  375. "variable": "host_ips",
  376. "label": "Host IPs",
  377. "description": "IPs on the host to bind this port",
  378. "schema": {
  379. "type": "list",
  380. "show_if": [
  381. [
  382. "bind_mode",
  383. "=",
  384. "published"
  385. ]
  386. ],
  387. "default": [],
  388. "items": [
  389. {
  390. "variable": "host_ip",
  391. "label": "Host IP",
  392. "schema": {
  393. "type": "string",
  394. "required": true,
  395. "$ref": [
  396. "definitions/node_bind_ip"
  397. ]
  398. }
  399. }
  400. ]
  401. }
  402. }
  403. ]
  404. }
  405. },
  406. {
  407. "variable": "tshock_api_port",
  408. "label": "TShock API Port",
  409. "schema": {
  410. "type": "dict",
  411. "attrs": [
  412. {
  413. "variable": "bind_mode",
  414. "label": "Port Bind Mode",
  415. "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",
  416. "schema": {
  417. "type": "string",
  418. "default": "",
  419. "enum": [
  420. {
  421. "value": "published",
  422. "description": "Publish port on the host for external access"
  423. },
  424. {
  425. "value": "exposed",
  426. "description": "Expose port for inter-container communication"
  427. },
  428. {
  429. "value": "",
  430. "description": "None"
  431. }
  432. ]
  433. }
  434. },
  435. {
  436. "variable": "port_number",
  437. "label": "Port Number",
  438. "schema": {
  439. "type": "int",
  440. "default": 31103,
  441. "min": 1,
  442. "max": 65535,
  443. "required": true
  444. }
  445. },
  446. {
  447. "variable": "host_ips",
  448. "label": "Host IPs",
  449. "description": "IPs on the host to bind this port",
  450. "schema": {
  451. "type": "list",
  452. "show_if": [
  453. [
  454. "bind_mode",
  455. "=",
  456. "published"
  457. ]
  458. ],
  459. "default": [],
  460. "items": [
  461. {
  462. "variable": "host_ip",
  463. "label": "Host IP",
  464. "schema": {
  465. "type": "string",
  466. "required": true,
  467. "$ref": [
  468. "definitions/node_bind_ip"
  469. ]
  470. }
  471. }
  472. ]
  473. }
  474. }
  475. ]
  476. }
  477. },
  478. {
  479. "variable": "host_network",
  480. "label": "Host Network",
  481. "description": "Bind to the host network. It's recommended to keep this disabled.\n",
  482. "schema": {
  483. "type": "boolean",
  484. "default": false
  485. }
  486. }
  487. ]
  488. }
  489. },
  490. {
  491. "variable": "storage",
  492. "label": "",
  493. "group": "Storage Configuration",
  494. "schema": {
  495. "type": "dict",
  496. "attrs": [
  497. {
  498. "variable": "config",
  499. "label": "Terraria Config Storage",
  500. "description": "The path to store Terraria Config.",
  501. "schema": {
  502. "type": "dict",
  503. "attrs": [
  504. {
  505. "variable": "type",
  506. "label": "Type",
  507. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  508. "schema": {
  509. "type": "string",
  510. "required": true,
  511. "default": "ix_volume",
  512. "enum": [
  513. {
  514. "value": "host_path",
  515. "description": "Host Path (Path that already exists on the system)"
  516. },
  517. {
  518. "value": "ix_volume",
  519. "description": "ixVolume (Dataset created automatically by the system)"
  520. }
  521. ]
  522. }
  523. },
  524. {
  525. "variable": "ix_volume_config",
  526. "label": "ixVolume Configuration",
  527. "description": "The configuration for the ixVolume dataset.",
  528. "schema": {
  529. "type": "dict",
  530. "show_if": [
  531. [
  532. "type",
  533. "=",
  534. "ix_volume"
  535. ]
  536. ],
  537. "$ref": [
  538. "normalize/ix_volume"
  539. ],
  540. "attrs": [
  541. {
  542. "variable": "acl_enable",
  543. "label": "Enable ACL",
  544. "description": "Enable ACL for the storage.",
  545. "schema": {
  546. "type": "boolean",
  547. "default": false
  548. }
  549. },
  550. {
  551. "variable": "dataset_name",
  552. "label": "Dataset Name",
  553. "description": "The name of the dataset to use for storage.",
  554. "schema": {
  555. "type": "string",
  556. "required": true,
  557. "hidden": true,
  558. "default": "config"
  559. }
  560. },
  561. {
  562. "variable": "acl_entries",
  563. "label": "ACL Configuration",
  564. "schema": {
  565. "type": "dict",
  566. "show_if": [
  567. [
  568. "acl_enable",
  569. "=",
  570. true
  571. ]
  572. ],
  573. "attrs": []
  574. }
  575. }
  576. ]
  577. }
  578. },
  579. {
  580. "variable": "host_path_config",
  581. "label": "Host Path Configuration",
  582. "schema": {
  583. "type": "dict",
  584. "show_if": [
  585. [
  586. "type",
  587. "=",
  588. "host_path"
  589. ]
  590. ],
  591. "attrs": [
  592. {
  593. "variable": "acl_enable",
  594. "label": "Enable ACL",
  595. "description": "Enable ACL for the storage.",
  596. "schema": {
  597. "type": "boolean",
  598. "default": false
  599. }
  600. },
  601. {
  602. "variable": "acl",
  603. "label": "ACL Configuration",
  604. "schema": {
  605. "type": "dict",
  606. "show_if": [
  607. [
  608. "acl_enable",
  609. "=",
  610. true
  611. ]
  612. ],
  613. "attrs": [],
  614. "$ref": [
  615. "normalize/acl"
  616. ]
  617. }
  618. },
  619. {
  620. "variable": "path",
  621. "label": "Host Path",
  622. "description": "The host path to use for storage.",
  623. "schema": {
  624. "type": "hostpath",
  625. "show_if": [
  626. [
  627. "acl_enable",
  628. "=",
  629. false
  630. ]
  631. ],
  632. "required": true
  633. }
  634. }
  635. ]
  636. }
  637. }
  638. ]
  639. }
  640. },
  641. {
  642. "variable": "world",
  643. "label": "Terraria World Storage",
  644. "description": "The path to store Terraria World.",
  645. "schema": {
  646. "type": "dict",
  647. "attrs": [
  648. {
  649. "variable": "type",
  650. "label": "Type",
  651. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  652. "schema": {
  653. "type": "string",
  654. "required": true,
  655. "default": "ix_volume",
  656. "enum": [
  657. {
  658. "value": "host_path",
  659. "description": "Host Path (Path that already exists on the system)"
  660. },
  661. {
  662. "value": "ix_volume",
  663. "description": "ixVolume (Dataset created automatically by the system)"
  664. }
  665. ]
  666. }
  667. },
  668. {
  669. "variable": "ix_volume_config",
  670. "label": "ixVolume Configuration",
  671. "description": "The configuration for the ixVolume dataset.",
  672. "schema": {
  673. "type": "dict",
  674. "show_if": [
  675. [
  676. "type",
  677. "=",
  678. "ix_volume"
  679. ]
  680. ],
  681. "$ref": [
  682. "normalize/ix_volume"
  683. ],
  684. "attrs": [
  685. {
  686. "variable": "acl_enable",
  687. "label": "Enable ACL",
  688. "description": "Enable ACL for the storage.",
  689. "schema": {
  690. "type": "boolean",
  691. "default": false
  692. }
  693. },
  694. {
  695. "variable": "dataset_name",
  696. "label": "Dataset Name",
  697. "description": "The name of the dataset to use for storage.",
  698. "schema": {
  699. "type": "string",
  700. "required": true,
  701. "hidden": true,
  702. "default": "world"
  703. }
  704. },
  705. {
  706. "variable": "acl_entries",
  707. "label": "ACL Configuration",
  708. "schema": {
  709. "type": "dict",
  710. "show_if": [
  711. [
  712. "acl_enable",
  713. "=",
  714. true
  715. ]
  716. ],
  717. "attrs": []
  718. }
  719. }
  720. ]
  721. }
  722. },
  723. {
  724. "variable": "host_path_config",
  725. "label": "Host Path Configuration",
  726. "schema": {
  727. "type": "dict",
  728. "show_if": [
  729. [
  730. "type",
  731. "=",
  732. "host_path"
  733. ]
  734. ],
  735. "attrs": [
  736. {
  737. "variable": "acl_enable",
  738. "label": "Enable ACL",
  739. "description": "Enable ACL for the storage.",
  740. "schema": {
  741. "type": "boolean",
  742. "default": false
  743. }
  744. },
  745. {
  746. "variable": "acl",
  747. "label": "ACL Configuration",
  748. "schema": {
  749. "type": "dict",
  750. "show_if": [
  751. [
  752. "acl_enable",
  753. "=",
  754. true
  755. ]
  756. ],
  757. "attrs": [],
  758. "$ref": [
  759. "normalize/acl"
  760. ]
  761. }
  762. },
  763. {
  764. "variable": "path",
  765. "label": "Host Path",
  766. "description": "The host path to use for storage.",
  767. "schema": {
  768. "type": "hostpath",
  769. "show_if": [
  770. [
  771. "acl_enable",
  772. "=",
  773. false
  774. ]
  775. ],
  776. "required": true
  777. }
  778. }
  779. ]
  780. }
  781. }
  782. ]
  783. }
  784. },
  785. {
  786. "variable": "plugins",
  787. "label": "Terraria Plugins Storage",
  788. "description": "The path to store Terraria Plugins.",
  789. "schema": {
  790. "type": "dict",
  791. "attrs": [
  792. {
  793. "variable": "type",
  794. "label": "Type",
  795. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  796. "schema": {
  797. "type": "string",
  798. "required": true,
  799. "default": "ix_volume",
  800. "enum": [
  801. {
  802. "value": "host_path",
  803. "description": "Host Path (Path that already exists on the system)"
  804. },
  805. {
  806. "value": "ix_volume",
  807. "description": "ixVolume (Dataset created automatically by the system)"
  808. }
  809. ]
  810. }
  811. },
  812. {
  813. "variable": "ix_volume_config",
  814. "label": "ixVolume Configuration",
  815. "description": "The configuration for the ixVolume dataset.",
  816. "schema": {
  817. "type": "dict",
  818. "show_if": [
  819. [
  820. "type",
  821. "=",
  822. "ix_volume"
  823. ]
  824. ],
  825. "$ref": [
  826. "normalize/ix_volume"
  827. ],
  828. "attrs": [
  829. {
  830. "variable": "acl_enable",
  831. "label": "Enable ACL",
  832. "description": "Enable ACL for the storage.",
  833. "schema": {
  834. "type": "boolean",
  835. "default": false
  836. }
  837. },
  838. {
  839. "variable": "dataset_name",
  840. "label": "Dataset Name",
  841. "description": "The name of the dataset to use for storage.",
  842. "schema": {
  843. "type": "string",
  844. "required": true,
  845. "hidden": true,
  846. "default": "plugins"
  847. }
  848. },
  849. {
  850. "variable": "acl_entries",
  851. "label": "ACL Configuration",
  852. "schema": {
  853. "type": "dict",
  854. "show_if": [
  855. [
  856. "acl_enable",
  857. "=",
  858. true
  859. ]
  860. ],
  861. "attrs": []
  862. }
  863. }
  864. ]
  865. }
  866. },
  867. {
  868. "variable": "host_path_config",
  869. "label": "Host Path Configuration",
  870. "schema": {
  871. "type": "dict",
  872. "show_if": [
  873. [
  874. "type",
  875. "=",
  876. "host_path"
  877. ]
  878. ],
  879. "attrs": [
  880. {
  881. "variable": "acl_enable",
  882. "label": "Enable ACL",
  883. "description": "Enable ACL for the storage.",
  884. "schema": {
  885. "type": "boolean",
  886. "default": false
  887. }
  888. },
  889. {
  890. "variable": "acl",
  891. "label": "ACL Configuration",
  892. "schema": {
  893. "type": "dict",
  894. "show_if": [
  895. [
  896. "acl_enable",
  897. "=",
  898. true
  899. ]
  900. ],
  901. "attrs": [],
  902. "$ref": [
  903. "normalize/acl"
  904. ]
  905. }
  906. },
  907. {
  908. "variable": "path",
  909. "label": "Host Path",
  910. "description": "The host path to use for storage.",
  911. "schema": {
  912. "type": "hostpath",
  913. "show_if": [
  914. [
  915. "acl_enable",
  916. "=",
  917. false
  918. ]
  919. ],
  920. "required": true
  921. }
  922. }
  923. ]
  924. }
  925. }
  926. ]
  927. }
  928. },
  929. {
  930. "variable": "additional_storage",
  931. "label": "Additional Storage",
  932. "schema": {
  933. "type": "list",
  934. "default": [],
  935. "items": [
  936. {
  937. "variable": "storageEntry",
  938. "label": "Storage Entry",
  939. "schema": {
  940. "type": "dict",
  941. "attrs": [
  942. {
  943. "variable": "type",
  944. "label": "Type",
  945. "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",
  946. "schema": {
  947. "type": "string",
  948. "required": true,
  949. "default": "ix_volume",
  950. "enum": [
  951. {
  952. "value": "host_path",
  953. "description": "Host Path (Path that already exists on the system)"
  954. },
  955. {
  956. "value": "ix_volume",
  957. "description": "ixVolume (Dataset created automatically by the system)"
  958. },
  959. {
  960. "value": "cifs",
  961. "description": "SMB/CIFS Share (Mounts a volume to a SMB share)"
  962. }
  963. ]
  964. }
  965. },
  966. {
  967. "variable": "read_only",
  968. "label": "Read Only",
  969. "description": "Mount the volume as read only.",
  970. "schema": {
  971. "type": "boolean",
  972. "default": false
  973. }
  974. },
  975. {
  976. "variable": "mount_path",
  977. "label": "Mount Path",
  978. "description": "The path inside the container to mount the storage.",
  979. "schema": {
  980. "type": "path",
  981. "required": true
  982. }
  983. },
  984. {
  985. "variable": "host_path_config",
  986. "label": "Host Path Configuration",
  987. "schema": {
  988. "type": "dict",
  989. "show_if": [
  990. [
  991. "type",
  992. "=",
  993. "host_path"
  994. ]
  995. ],
  996. "attrs": [
  997. {
  998. "variable": "acl_enable",
  999. "label": "Enable ACL",
  1000. "description": "Enable ACL for the storage.",
  1001. "schema": {
  1002. "type": "boolean",
  1003. "default": false
  1004. }
  1005. },
  1006. {
  1007. "variable": "acl",
  1008. "label": "ACL Configuration",
  1009. "schema": {
  1010. "type": "dict",
  1011. "show_if": [
  1012. [
  1013. "acl_enable",
  1014. "=",
  1015. true
  1016. ]
  1017. ],
  1018. "attrs": [],
  1019. "$ref": [
  1020. "normalize/acl"
  1021. ]
  1022. }
  1023. },
  1024. {
  1025. "variable": "path",
  1026. "label": "Host Path",
  1027. "description": "The host path to use for storage.",
  1028. "schema": {
  1029. "type": "hostpath",
  1030. "show_if": [
  1031. [
  1032. "acl_enable",
  1033. "=",
  1034. false
  1035. ]
  1036. ],
  1037. "required": true
  1038. }
  1039. }
  1040. ]
  1041. }
  1042. },
  1043. {
  1044. "variable": "ix_volume_config",
  1045. "label": "ixVolume Configuration",
  1046. "description": "The configuration for the ixVolume dataset.",
  1047. "schema": {
  1048. "type": "dict",
  1049. "show_if": [
  1050. [
  1051. "type",
  1052. "=",
  1053. "ix_volume"
  1054. ]
  1055. ],
  1056. "$ref": [
  1057. "normalize/ix_volume"
  1058. ],
  1059. "attrs": [
  1060. {
  1061. "variable": "acl_enable",
  1062. "label": "Enable ACL",
  1063. "description": "Enable ACL for the storage.",
  1064. "schema": {
  1065. "type": "boolean",
  1066. "default": false
  1067. }
  1068. },
  1069. {
  1070. "variable": "dataset_name",
  1071. "label": "Dataset Name",
  1072. "description": "The name of the dataset to use for storage.",
  1073. "schema": {
  1074. "type": "string",
  1075. "required": true,
  1076. "default": "storage_entry"
  1077. }
  1078. },
  1079. {
  1080. "variable": "acl_entries",
  1081. "label": "ACL Configuration",
  1082. "schema": {
  1083. "type": "dict",
  1084. "show_if": [
  1085. [
  1086. "acl_enable",
  1087. "=",
  1088. true
  1089. ]
  1090. ],
  1091. "attrs": [],
  1092. "$ref": [
  1093. "normalize/acl"
  1094. ]
  1095. }
  1096. }
  1097. ]
  1098. }
  1099. },
  1100. {
  1101. "variable": "cifs_config",
  1102. "label": "SMB Configuration",
  1103. "description": "The configuration for the SMB dataset.",
  1104. "schema": {
  1105. "type": "dict",
  1106. "show_if": [
  1107. [
  1108. "type",
  1109. "=",
  1110. "cifs"
  1111. ]
  1112. ],
  1113. "attrs": [
  1114. {
  1115. "variable": "server",
  1116. "label": "Server",
  1117. "description": "The server to mount the SMB share.",
  1118. "schema": {
  1119. "type": "string",
  1120. "required": true
  1121. }
  1122. },
  1123. {
  1124. "variable": "path",
  1125. "label": "Path",
  1126. "description": "The path to mount the SMB share.",
  1127. "schema": {
  1128. "type": "string",
  1129. "required": true
  1130. }
  1131. },
  1132. {
  1133. "variable": "username",
  1134. "label": "Username",
  1135. "description": "The username to use for the SMB share.",
  1136. "schema": {
  1137. "type": "string",
  1138. "required": true
  1139. }
  1140. },
  1141. {
  1142. "variable": "password",
  1143. "label": "Password",
  1144. "description": "The password to use for the SMB share.",
  1145. "schema": {
  1146. "type": "string",
  1147. "required": true,
  1148. "private": true
  1149. }
  1150. },
  1151. {
  1152. "variable": "domain",
  1153. "label": "Domain",
  1154. "description": "The domain to use for the SMB share.",
  1155. "schema": {
  1156. "type": "string"
  1157. }
  1158. }
  1159. ]
  1160. }
  1161. }
  1162. ]
  1163. }
  1164. }
  1165. ]
  1166. }
  1167. }
  1168. ]
  1169. }
  1170. },
  1171. {
  1172. "variable": "labels",
  1173. "label": "",
  1174. "group": "Labels Configuration",
  1175. "schema": {
  1176. "type": "list",
  1177. "default": [],
  1178. "items": [
  1179. {
  1180. "variable": "label",
  1181. "label": "Label",
  1182. "schema": {
  1183. "type": "dict",
  1184. "attrs": [
  1185. {
  1186. "variable": "key",
  1187. "label": "Key",
  1188. "schema": {
  1189. "type": "string",
  1190. "required": true
  1191. }
  1192. },
  1193. {
  1194. "variable": "value",
  1195. "label": "Value",
  1196. "schema": {
  1197. "type": "string",
  1198. "required": true
  1199. }
  1200. },
  1201. {
  1202. "variable": "containers",
  1203. "label": "Containers",
  1204. "description": "Containers where the label should be applied",
  1205. "schema": {
  1206. "type": "list",
  1207. "items": [
  1208. {
  1209. "variable": "container",
  1210. "label": "Container",
  1211. "schema": {
  1212. "type": "string",
  1213. "required": true,
  1214. "enum": [
  1215. {
  1216. "value": "terraria",
  1217. "description": "terraria"
  1218. }
  1219. ]
  1220. }
  1221. }
  1222. ]
  1223. }
  1224. }
  1225. ]
  1226. }
  1227. }
  1228. ]
  1229. }
  1230. },
  1231. {
  1232. "variable": "resources",
  1233. "label": "",
  1234. "group": "Resources Configuration",
  1235. "schema": {
  1236. "type": "dict",
  1237. "attrs": [
  1238. {
  1239. "variable": "limits",
  1240. "label": "Limits",
  1241. "schema": {
  1242. "type": "dict",
  1243. "attrs": [
  1244. {
  1245. "variable": "cpus",
  1246. "label": "CPUs",
  1247. "description": "CPUs limit for Terraria.",
  1248. "schema": {
  1249. "type": "int",
  1250. "default": 2,
  1251. "required": true
  1252. }
  1253. },
  1254. {
  1255. "variable": "memory",
  1256. "label": "Memory (in MB)",
  1257. "description": "Memory limit for Terraria.",
  1258. "schema": {
  1259. "type": "int",
  1260. "default": 4096,
  1261. "required": true
  1262. }
  1263. }
  1264. ]
  1265. }
  1266. }
  1267. ]
  1268. }
  1269. }
  1270. ]
  1271. },
  1272. "readme": "<h1>Terraria</h1> <p><a href=\"https://terraria.org/\">Terraria</a> is a land of adventure! A land of mystery! A land that's yours to shape, defend, and enjoy.</p> <p><strong>NOTE:</strong> The following applies only for the <code>TShock</code> image. On the first run, you have to check the logs to get the server token. You will find something like this:</p> <p><code>text Login before join enabled. Users may be prompted for an account specific password instead of a server password on connect. Login using UUID enabled. Users automatically login via UUID. A malicious server can easily steal a user's UUID. You may consider turning this option off if you run a public server. TShock Notice: setup-code.txt is still present, and the code located in that file will be used. To setup the server, join the game and type /setup 424041 This token will display until disabled by verification. (/setup)</code></p> <p>Join the server and run <code>/setup &lt;token&gt;</code></p>",
  1273. "changelog": null,
  1274. "chart_metadata": {
  1275. "annotations": {
  1276. "min_scale_version": "24.10.2.2"
  1277. },
  1278. "app_version": "tshock-1.4.4.9-5.2.4",
  1279. "capabilities": [],
  1280. "categories": [
  1281. "games"
  1282. ],
  1283. "changelog_url": "https://github.com/ryansheehan/terraria/releases",
  1284. "date_added": "2024-09-17",
  1285. "description": "Terraria is a land of adventure! A land of mystery! A land that's yours to shape, defend, and enjoy.",
  1286. "home": "https://terraria.org/",
  1287. "host_mounts": [],
  1288. "icon": "https://media.sys.truenas.net/apps/terraria/icons/icon.png",
  1289. "keywords": [
  1290. "adventure",
  1291. "building",
  1292. "game",
  1293. "terraria",
  1294. "world"
  1295. ],
  1296. "lib_version": "2.1.49",
  1297. "lib_version_hash": "e71e6b0122c9446fa5ea6fb07e7eb01b11fb42d549a19845426bbd7e21a42634",
  1298. "maintainers": [
  1299. {
  1300. "email": "dev@ixsystems.com",
  1301. "name": "truenas",
  1302. "url": "https://www.truenas.com/"
  1303. }
  1304. ],
  1305. "name": "terraria",
  1306. "run_as_context": [
  1307. {
  1308. "description": "Terraria runs as root user.",
  1309. "gid": 0,
  1310. "group_name": "root",
  1311. "uid": 0,
  1312. "user_name": "root"
  1313. }
  1314. ],
  1315. "screenshots": [],
  1316. "sources": [
  1317. "https://terraria.org/",
  1318. "https://github.com/ryansheehan/terraria"
  1319. ],
  1320. "title": "Terraria",
  1321. "train": "community",
  1322. "version": "1.2.6"
  1323. }
  1324. }
  1325. }