questions.yaml 20 KB

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