questions.yaml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  1. groups:
  2. - name: WordPress Configuration
  3. description: Configure WordPress
  4. - name: Network Configuration
  5. description: Configure Network for WordPress
  6. - name: Storage Configuration
  7. description: Configure Storage for WordPress
  8. - name: Labels Configuration
  9. description: Configure Labels for WordPress
  10. - name: Resources Configuration
  11. description: Configure Resources for WordPress
  12. questions:
  13. - variable: TZ
  14. group: WordPress Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: wordpress
  23. label: ""
  24. group: WordPress Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: db_password
  29. label: Database Password
  30. description: The database password for WordPress.
  31. schema:
  32. type: string
  33. default: ""
  34. required: true
  35. private: true
  36. - variable: db_root_password
  37. label: Root Database Password
  38. description: The root database password for WordPress.
  39. schema:
  40. type: string
  41. default: ""
  42. required: true
  43. private: true
  44. - variable: additional_envs
  45. label: Additional Environment Variables
  46. schema:
  47. type: list
  48. default: []
  49. items:
  50. - variable: env
  51. label: Environment Variable
  52. schema:
  53. type: dict
  54. attrs:
  55. - variable: name
  56. label: Name
  57. schema:
  58. type: string
  59. required: true
  60. - variable: value
  61. label: Value
  62. schema:
  63. type: string
  64. - variable: network
  65. label: ""
  66. group: Network Configuration
  67. schema:
  68. type: dict
  69. attrs:
  70. - variable: web_port
  71. label: WebUI Port
  72. schema:
  73. type: dict
  74. attrs:
  75. - variable: bind_mode
  76. label: Port Bind Mode
  77. description: |
  78. The port bind mode.</br>
  79. - Publish: The port will be published on the host for external access.</br>
  80. - Expose: The port will be exposed for inter-container communication.</br>
  81. - None: The port will not be exposed or published.</br>
  82. Note: If the Dockerfile defines an EXPOSE directive,
  83. the port will still be exposed for inter-container communication regardless of this setting.
  84. schema:
  85. type: string
  86. default: ""
  87. enum:
  88. - value: "published"
  89. description: Publish port on the host for external access
  90. - value: "exposed"
  91. description: Expose port for inter-container communication
  92. - value: ""
  93. description: None
  94. - variable: port_number
  95. label: Port Number
  96. schema:
  97. type: int
  98. show_if: [["bind_mode", "=", "published"]]
  99. default: 30040
  100. min: 1
  101. max: 65535
  102. required: true
  103. - variable: host_ips
  104. label: Host IPs
  105. description: IPs on the host to bind this port
  106. schema:
  107. type: list
  108. show_if: [["bind_mode", "=", "published"]]
  109. default: []
  110. items:
  111. - variable: host_ip
  112. label: Host IP
  113. schema:
  114. type: string
  115. required: true
  116. $ref:
  117. - definitions/node_bind_ip
  118. - variable: storage
  119. label: ""
  120. group: Storage Configuration
  121. schema:
  122. type: dict
  123. attrs:
  124. - variable: data
  125. label: WordPress Data Storage
  126. description: The path to store WordPress Data.
  127. schema:
  128. type: dict
  129. attrs:
  130. - variable: type
  131. label: Type
  132. description: |
  133. ixVolume: Is dataset created automatically by the system.</br>
  134. Host Path: Is a path that already exists on the system.
  135. schema:
  136. type: string
  137. required: true
  138. default: "ix_volume"
  139. enum:
  140. - value: "host_path"
  141. description: Host Path (Path that already exists on the system)
  142. - value: "ix_volume"
  143. description: ixVolume (Dataset created automatically by the system)
  144. - variable: ix_volume_config
  145. label: ixVolume Configuration
  146. description: The configuration for the ixVolume dataset.
  147. schema:
  148. type: dict
  149. show_if: [["type", "=", "ix_volume"]]
  150. $ref:
  151. - "normalize/ix_volume"
  152. attrs:
  153. - variable: acl_enable
  154. label: Enable ACL
  155. description: Enable ACL for the storage.
  156. schema:
  157. type: boolean
  158. default: false
  159. - variable: dataset_name
  160. label: Dataset Name
  161. description: The name of the dataset to use for storage.
  162. schema:
  163. type: string
  164. required: true
  165. hidden: true
  166. default: "data"
  167. - variable: acl_entries
  168. label: ACL Configuration
  169. schema:
  170. type: dict
  171. show_if: [["acl_enable", "=", true]]
  172. attrs: []
  173. - variable: host_path_config
  174. label: Host Path Configuration
  175. schema:
  176. type: dict
  177. show_if: [["type", "=", "host_path"]]
  178. attrs:
  179. - variable: acl_enable
  180. label: Enable ACL
  181. description: Enable ACL for the storage.
  182. schema:
  183. type: boolean
  184. default: false
  185. - variable: acl
  186. label: ACL Configuration
  187. schema:
  188. type: dict
  189. show_if: [["acl_enable", "=", true]]
  190. attrs: []
  191. $ref:
  192. - "normalize/acl"
  193. - variable: path
  194. label: Host Path
  195. description: The host path to use for storage.
  196. schema:
  197. type: hostpath
  198. show_if: [["acl_enable", "=", false]]
  199. required: true
  200. - variable: mariadb_data
  201. label: WordPress MariaDB Data Storage
  202. description: The path to store WordPress MariaDB Data.
  203. schema:
  204. type: dict
  205. attrs:
  206. - variable: type
  207. label: Type
  208. description: |
  209. ixVolume: Is dataset created automatically by the system.</br>
  210. Host Path: Is a path that already exists on the system.
  211. schema:
  212. type: string
  213. required: true
  214. default: "ix_volume"
  215. enum:
  216. - value: "host_path"
  217. description: Host Path (Path that already exists on the system)
  218. - value: "ix_volume"
  219. description: ixVolume (Dataset created automatically by the system)
  220. - variable: ix_volume_config
  221. label: ixVolume Configuration
  222. description: The configuration for the ixVolume dataset.
  223. schema:
  224. type: dict
  225. show_if: [["type", "=", "ix_volume"]]
  226. $ref:
  227. - "normalize/ix_volume"
  228. attrs:
  229. - variable: acl_enable
  230. label: Enable ACL
  231. description: Enable ACL for the storage.
  232. schema:
  233. type: boolean
  234. default: false
  235. - variable: dataset_name
  236. label: Dataset Name
  237. description: The name of the dataset to use for storage.
  238. schema:
  239. type: string
  240. required: true
  241. hidden: true
  242. default: "mariadb_data"
  243. - variable: acl_entries
  244. label: ACL Configuration
  245. schema:
  246. type: dict
  247. show_if: [["acl_enable", "=", true]]
  248. attrs: []
  249. - variable: host_path_config
  250. label: Host Path Configuration
  251. schema:
  252. type: dict
  253. show_if: [["type", "=", "host_path"]]
  254. attrs:
  255. - variable: acl_enable
  256. label: Enable ACL
  257. description: Enable ACL for the storage.
  258. schema:
  259. type: boolean
  260. default: false
  261. - variable: acl
  262. label: ACL Configuration
  263. schema:
  264. type: dict
  265. show_if: [["acl_enable", "=", true]]
  266. attrs: []
  267. $ref:
  268. - "normalize/acl"
  269. - variable: path
  270. label: Host Path
  271. description: The host path to use for storage.
  272. schema:
  273. type: hostpath
  274. show_if: [["acl_enable", "=", false]]
  275. required: true
  276. - variable: additional_storage
  277. label: Additional Storage
  278. schema:
  279. type: list
  280. default: []
  281. items:
  282. - variable: storageEntry
  283. label: Storage Entry
  284. schema:
  285. type: dict
  286. attrs:
  287. - variable: type
  288. label: Type
  289. description: |
  290. ixVolume: Is dataset created automatically by the system.</br>
  291. Host Path: Is a path that already exists on the system.</br>
  292. SMB Share: Is a SMB share that is mounted to as a volume.
  293. schema:
  294. type: string
  295. required: true
  296. default: "ix_volume"
  297. enum:
  298. - value: "host_path"
  299. description: Host Path (Path that already exists on the system)
  300. - value: "ix_volume"
  301. description: ixVolume (Dataset created automatically by the system)
  302. - value: "cifs"
  303. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  304. - variable: read_only
  305. label: Read Only
  306. description: Mount the volume as read only.
  307. schema:
  308. type: boolean
  309. default: false
  310. - variable: mount_path
  311. label: Mount Path
  312. description: The path inside the container to mount the storage.
  313. schema:
  314. type: path
  315. required: true
  316. - variable: host_path_config
  317. label: Host Path Configuration
  318. schema:
  319. type: dict
  320. show_if: [["type", "=", "host_path"]]
  321. attrs:
  322. - variable: acl_enable
  323. label: Enable ACL
  324. description: Enable ACL for the storage.
  325. schema:
  326. type: boolean
  327. default: false
  328. - variable: acl
  329. label: ACL Configuration
  330. schema:
  331. type: dict
  332. show_if: [["acl_enable", "=", true]]
  333. attrs: []
  334. $ref:
  335. - "normalize/acl"
  336. - variable: path
  337. label: Host Path
  338. description: The host path to use for storage.
  339. schema:
  340. type: hostpath
  341. show_if: [["acl_enable", "=", false]]
  342. required: true
  343. - variable: ix_volume_config
  344. label: ixVolume Configuration
  345. description: The configuration for the ixVolume dataset.
  346. schema:
  347. type: dict
  348. show_if: [["type", "=", "ix_volume"]]
  349. $ref:
  350. - "normalize/ix_volume"
  351. attrs:
  352. - variable: acl_enable
  353. label: Enable ACL
  354. description: Enable ACL for the storage.
  355. schema:
  356. type: boolean
  357. default: false
  358. - variable: dataset_name
  359. label: Dataset Name
  360. description: The name of the dataset to use for storage.
  361. schema:
  362. type: string
  363. required: true
  364. default: "storage_entry"
  365. - variable: acl_entries
  366. label: ACL Configuration
  367. schema:
  368. type: dict
  369. show_if: [["acl_enable", "=", true]]
  370. attrs: []
  371. $ref:
  372. - "normalize/acl"
  373. - variable: cifs_config
  374. label: SMB Configuration
  375. description: The configuration for the SMB dataset.
  376. schema:
  377. type: dict
  378. show_if: [["type", "=", "cifs"]]
  379. attrs:
  380. - variable: server
  381. label: Server
  382. description: The server to mount the SMB share.
  383. schema:
  384. type: string
  385. required: true
  386. - variable: path
  387. label: Path
  388. description: The path to mount the SMB share.
  389. schema:
  390. type: string
  391. required: true
  392. - variable: username
  393. label: Username
  394. description: The username to use for the SMB share.
  395. schema:
  396. type: string
  397. required: true
  398. - variable: password
  399. label: Password
  400. description: The password to use for the SMB share.
  401. schema:
  402. type: string
  403. required: true
  404. private: true
  405. - variable: domain
  406. label: Domain
  407. description: The domain to use for the SMB share.
  408. schema:
  409. type: string
  410. - variable: labels
  411. label: ""
  412. group: Labels Configuration
  413. schema:
  414. type: list
  415. default: []
  416. items:
  417. - variable: label
  418. label: Label
  419. schema:
  420. type: dict
  421. attrs:
  422. - variable: key
  423. label: Key
  424. schema:
  425. type: string
  426. required: true
  427. - variable: value
  428. label: Value
  429. schema:
  430. type: string
  431. required: true
  432. - variable: containers
  433. label: Containers
  434. description: Containers where the label should be applied
  435. schema:
  436. type: list
  437. items:
  438. - variable: container
  439. label: Container
  440. schema:
  441. type: string
  442. required: true
  443. enum:
  444. - value: wordpress
  445. description: wordpress
  446. - value: mariadb
  447. description: mariadb
  448. - variable: resources
  449. label: ""
  450. group: Resources Configuration
  451. schema:
  452. type: dict
  453. attrs:
  454. - variable: limits
  455. label: Limits
  456. schema:
  457. type: dict
  458. attrs:
  459. - variable: cpus
  460. label: CPUs
  461. description: CPUs limit for WordPress.
  462. schema:
  463. type: int
  464. default: 2
  465. required: true
  466. - variable: memory
  467. label: Memory (in MB)
  468. description: Memory limit for WordPress.
  469. schema:
  470. type: int
  471. default: 4096
  472. required: true