questions.yaml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685
  1. groups:
  2. - name: Concourse Configuration
  3. description: Configure Concourse
  4. - name: Network Configuration
  5. description: Configure Network for Concourse
  6. - name: Storage Configuration
  7. description: Configure Storage for Concourse
  8. - name: Labels Configuration
  9. description: Configure Labels for Concourse
  10. - name: Resources Configuration
  11. description: Configure Resources for Concourse
  12. questions:
  13. - variable: TZ
  14. group: Concourse Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: concourse
  23. label: ""
  24. group: Concourse Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: postgres_image_selector
  29. label: Postgres Image (CAUTION)
  30. description: |
  31. If you are changing this after the postgres directory has been initialized,</br>
  32. STOP! and make sure you have a backup of your data.</br>
  33. Changing this will trigger an one way database upgrade.</br>
  34. You can only select newer versions of postgres.</br>
  35. Selecting an older version will refuse to start.</br>
  36. If something goes wrong, you will have to restore from backup.
  37. schema:
  38. type: string
  39. default: postgres_17_image
  40. required: true
  41. enum:
  42. - value: postgres_17_image
  43. description: Postgres 17
  44. - variable: db_password
  45. label: Database Password
  46. description: The password for Concourse Database.
  47. schema:
  48. type: string
  49. default: ""
  50. required: true
  51. private: true
  52. - variable: external_url
  53. label: External URL
  54. description: |
  55. The URL that Concourse will be accessible from.</br>
  56. Example: </br>
  57. - http://server.ip:30152</br>
  58. - https://server.ip:30153</br>
  59. - https://concourse.example.com
  60. schema:
  61. type: uri
  62. default: ""
  63. required: true
  64. - variable: users
  65. label: Users
  66. schema:
  67. type: list
  68. default: []
  69. items:
  70. - variable: user
  71. label: User
  72. schema:
  73. type: dict
  74. attrs:
  75. - variable: username
  76. label: Username
  77. schema:
  78. type: string
  79. required: true
  80. - variable: password
  81. label: Password
  82. schema:
  83. type: string
  84. required: true
  85. private: true
  86. - variable: is_admin
  87. label: Add to the Main Team
  88. schema:
  89. type: boolean
  90. default: false
  91. - variable: web_additional_envs
  92. label: Additional Environment Variables for Web Container
  93. schema:
  94. type: list
  95. default: []
  96. items:
  97. - variable: env
  98. label: Environment Variable
  99. schema:
  100. type: dict
  101. attrs:
  102. - variable: name
  103. label: Name
  104. schema:
  105. type: string
  106. required: true
  107. - variable: value
  108. label: Value
  109. schema:
  110. type: string
  111. - variable: worker_additional_envs
  112. label: Additional Environment Variables for Worker Container
  113. schema:
  114. type: list
  115. default: []
  116. items:
  117. - variable: env
  118. label: Environment Variable
  119. schema:
  120. type: dict
  121. attrs:
  122. - variable: name
  123. label: Name
  124. schema:
  125. type: string
  126. required: true
  127. - variable: value
  128. label: Value
  129. schema:
  130. type: string
  131. - variable: network
  132. label: ""
  133. group: Network Configuration
  134. schema:
  135. type: dict
  136. attrs:
  137. - variable: http_port
  138. label: HTTP Port
  139. schema:
  140. type: dict
  141. attrs:
  142. - variable: bind_mode
  143. label: Port Bind Mode
  144. description: |
  145. The port bind mode.</br>
  146. - Publish: The port will be published on the host for external access.</br>
  147. - Expose: The port will be exposed for inter-container communication.</br>
  148. - None: The port will not be exposed or published.</br>
  149. Note: If the Dockerfile defines an EXPOSE directive,
  150. the port will still be exposed for inter-container communication regardless of this setting.
  151. schema:
  152. type: string
  153. default: "published"
  154. enum:
  155. - value: "published"
  156. description: Publish port on the host for external access
  157. - value: "exposed"
  158. description: Expose port for inter-container communication
  159. - value: ""
  160. description: None
  161. - variable: port_number
  162. label: Port Number
  163. schema:
  164. type: int
  165. default: 30152
  166. min: 1
  167. max: 65535
  168. required: true
  169. - variable: host_ips
  170. label: Host IPs
  171. description: IPs on the host to bind this port
  172. schema:
  173. type: list
  174. show_if: [["bind_mode", "=", "published"]]
  175. default: []
  176. items:
  177. - variable: host_ip
  178. label: Host IP
  179. schema:
  180. type: string
  181. required: true
  182. $ref:
  183. - definitions/node_bind_ip
  184. - variable: https_port
  185. label: HTTPS Port
  186. schema:
  187. type: dict
  188. show_if: [["certificate_id", "!=", null]]
  189. attrs:
  190. - variable: bind_mode
  191. label: Port Bind Mode
  192. description: |
  193. The port bind mode.</br>
  194. - Publish: The port will be published on the host for external access.</br>
  195. - Expose: The port will be exposed for inter-container communication.</br>
  196. - None: The port will not be exposed or published.</br>
  197. Note: If the Dockerfile defines an EXPOSE directive,
  198. the port will still be exposed for inter-container communication regardless of this setting.
  199. schema:
  200. type: string
  201. default: "published"
  202. enum:
  203. - value: "published"
  204. description: Publish port on the host for external access
  205. - value: "exposed"
  206. description: Expose port for inter-container communication
  207. - value: ""
  208. description: None
  209. - variable: port_number
  210. label: Port Number
  211. schema:
  212. type: int
  213. default: 30153
  214. min: 1
  215. max: 65535
  216. required: true
  217. - variable: host_ips
  218. label: Host IPs
  219. description: IPs on the host to bind this port
  220. schema:
  221. type: list
  222. show_if: [["bind_mode", "=", "published"]]
  223. default: []
  224. items:
  225. - variable: host_ip
  226. label: Host IP
  227. schema:
  228. type: string
  229. required: true
  230. $ref:
  231. - definitions/node_bind_ip
  232. - variable: certificate_id
  233. label: Certificate
  234. description: The certificate to use for Concourse.
  235. schema:
  236. type: int
  237. "null": true
  238. $ref:
  239. - "definitions/certificate"
  240. - variable: storage
  241. label: ""
  242. group: Storage Configuration
  243. schema:
  244. type: dict
  245. attrs:
  246. - variable: postgres_data
  247. label: Postgres Data Storage
  248. description: The path to store Postgres Data.
  249. schema:
  250. type: dict
  251. attrs:
  252. - variable: type
  253. label: Type
  254. description: |
  255. ixVolume: Is dataset created automatically by the system.</br>
  256. Host Path: Is a path that already exists on the system.
  257. schema:
  258. type: string
  259. required: true
  260. default: "ix_volume"
  261. enum:
  262. - value: "host_path"
  263. description: Host Path (Path that already exists on the system)
  264. - value: "ix_volume"
  265. description: ixVolume (Dataset created automatically by the system)
  266. - variable: ix_volume_config
  267. label: ixVolume Configuration
  268. description: The configuration for the ixVolume dataset.
  269. schema:
  270. type: dict
  271. show_if: [["type", "=", "ix_volume"]]
  272. $ref:
  273. - "normalize/ix_volume"
  274. attrs:
  275. - variable: acl_enable
  276. label: Enable ACL
  277. description: Enable ACL for the storage.
  278. schema:
  279. type: boolean
  280. default: false
  281. - variable: dataset_name
  282. label: Dataset Name
  283. description: The name of the dataset to use for storage.
  284. schema:
  285. type: string
  286. required: true
  287. hidden: true
  288. default: "pg_data"
  289. - variable: acl_entries
  290. label: ACL Configuration
  291. schema:
  292. type: dict
  293. show_if: [["acl_enable", "=", true]]
  294. attrs: []
  295. - variable: host_path_config
  296. label: Host Path Configuration
  297. schema:
  298. type: dict
  299. show_if: [["type", "=", "host_path"]]
  300. attrs:
  301. - variable: acl_enable
  302. label: Enable ACL
  303. description: Enable ACL for the storage.
  304. schema:
  305. type: boolean
  306. default: false
  307. - variable: acl
  308. label: ACL Configuration
  309. schema:
  310. type: dict
  311. show_if: [["acl_enable", "=", true]]
  312. attrs: []
  313. $ref:
  314. - "normalize/acl"
  315. - variable: path
  316. label: Host Path
  317. description: The host path to use for storage.
  318. schema:
  319. type: hostpath
  320. show_if: [["acl_enable", "=", false]]
  321. required: true
  322. - variable: auto_permissions
  323. label: Automatic Permissions
  324. description: |
  325. Automatically set permissions for the host path.
  326. Enabling this, will check the top level directory,</br>
  327. If it finds incorrect permissions, it will `chown` the
  328. host path to the user and group required for the
  329. postgres container.
  330. schema:
  331. type: boolean
  332. default: false
  333. show_if: [["acl_enable", "=", false]]
  334. - variable: workspace
  335. label: Concourse Workspace Storage
  336. schema:
  337. type: dict
  338. attrs:
  339. - variable: type
  340. label: Type
  341. description: |
  342. ixVolume: Is dataset created automatically by the system.</br>
  343. Host Path: Is a path that already exists on the system.
  344. schema:
  345. type: string
  346. required: true
  347. default: "ix_volume"
  348. enum:
  349. - value: "host_path"
  350. description: Host Path (Path that already exists on the system)
  351. - value: "ix_volume"
  352. description: ixVolume (Dataset created automatically by the system)
  353. - variable: ix_volume_config
  354. label: ixVolume Configuration
  355. description: The configuration for the ixVolume dataset.
  356. schema:
  357. type: dict
  358. show_if: [["type", "=", "ix_volume"]]
  359. $ref:
  360. - "normalize/ix_volume"
  361. attrs:
  362. - variable: acl_enable
  363. label: Enable ACL
  364. description: Enable ACL for the storage.
  365. schema:
  366. type: boolean
  367. default: false
  368. - variable: dataset_name
  369. label: Dataset Name
  370. description: The name of the dataset to use for storage.
  371. schema:
  372. type: string
  373. required: true
  374. hidden: true
  375. default: "workspace"
  376. - variable: acl_entries
  377. label: ACL Configuration
  378. schema:
  379. type: dict
  380. show_if: [["acl_enable", "=", true]]
  381. attrs: []
  382. - variable: host_path_config
  383. label: Host Path Configuration
  384. schema:
  385. type: dict
  386. show_if: [["type", "=", "host_path"]]
  387. attrs:
  388. - variable: acl_enable
  389. label: Enable ACL
  390. description: Enable ACL for the storage.
  391. schema:
  392. type: boolean
  393. default: false
  394. - variable: acl
  395. label: ACL Configuration
  396. schema:
  397. type: dict
  398. show_if: [["acl_enable", "=", true]]
  399. attrs: []
  400. $ref:
  401. - "normalize/acl"
  402. - variable: path
  403. label: Host Path
  404. description: The host path to use for storage.
  405. schema:
  406. type: hostpath
  407. show_if: [["acl_enable", "=", false]]
  408. required: true
  409. - variable: keystore
  410. label: Concourse Keystore Storage
  411. schema:
  412. type: dict
  413. attrs:
  414. - variable: type
  415. label: Type
  416. description: |
  417. ixVolume: Is dataset created automatically by the system.</br>
  418. Host Path: Is a path that already exists on the system.
  419. schema:
  420. type: string
  421. required: true
  422. default: "ix_volume"
  423. enum:
  424. - value: "host_path"
  425. description: Host Path (Path that already exists on the system)
  426. - value: "ix_volume"
  427. description: ixVolume (Dataset created automatically by the system)
  428. - variable: ix_volume_config
  429. label: ixVolume Configuration
  430. description: The configuration for the ixVolume dataset.
  431. schema:
  432. type: dict
  433. show_if: [["type", "=", "ix_volume"]]
  434. $ref:
  435. - "normalize/ix_volume"
  436. attrs:
  437. - variable: acl_enable
  438. label: Enable ACL
  439. description: Enable ACL for the storage.
  440. schema:
  441. type: boolean
  442. default: false
  443. - variable: dataset_name
  444. label: Dataset Name
  445. description: The name of the dataset to use for storage.
  446. schema:
  447. type: string
  448. required: true
  449. hidden: true
  450. default: "keystore"
  451. - variable: acl_entries
  452. label: ACL Configuration
  453. schema:
  454. type: dict
  455. show_if: [["acl_enable", "=", true]]
  456. attrs: []
  457. - variable: host_path_config
  458. label: Host Path Configuration
  459. schema:
  460. type: dict
  461. show_if: [["type", "=", "host_path"]]
  462. attrs:
  463. - variable: acl_enable
  464. label: Enable ACL
  465. description: Enable ACL for the storage.
  466. schema:
  467. type: boolean
  468. default: false
  469. - variable: acl
  470. label: ACL Configuration
  471. schema:
  472. type: dict
  473. show_if: [["acl_enable", "=", true]]
  474. attrs: []
  475. $ref:
  476. - "normalize/acl"
  477. - variable: path
  478. label: Host Path
  479. description: The host path to use for storage.
  480. schema:
  481. type: hostpath
  482. show_if: [["acl_enable", "=", false]]
  483. required: true
  484. - variable: additional_storage
  485. label: Additional Storage
  486. schema:
  487. type: list
  488. default: []
  489. items:
  490. - variable: storageEntry
  491. label: Storage Entry
  492. schema:
  493. type: dict
  494. attrs:
  495. - variable: type
  496. label: Type
  497. description: |
  498. ixVolume: Is dataset created automatically by the system.</br>
  499. Host Path: Is a path that already exists on the system.</br>
  500. SMB Share: Is a SMB share that is mounted to as a volume.
  501. schema:
  502. type: string
  503. required: true
  504. default: "ix_volume"
  505. enum:
  506. - value: "host_path"
  507. description: Host Path (Path that already exists on the system)
  508. - value: "ix_volume"
  509. description: ixVolume (Dataset created automatically by the system)
  510. - value: "cifs"
  511. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  512. - variable: read_only
  513. label: Read Only
  514. description: Mount the volume as read only.
  515. schema:
  516. type: boolean
  517. default: false
  518. - variable: mount_path
  519. label: Mount Path
  520. description: The path inside the container to mount the storage.
  521. schema:
  522. type: path
  523. required: true
  524. - variable: host_path_config
  525. label: Host Path Configuration
  526. schema:
  527. type: dict
  528. show_if: [["type", "=", "host_path"]]
  529. attrs:
  530. - variable: acl_enable
  531. label: Enable ACL
  532. description: Enable ACL for the storage.
  533. schema:
  534. type: boolean
  535. default: false
  536. - variable: acl
  537. label: ACL Configuration
  538. schema:
  539. type: dict
  540. show_if: [["acl_enable", "=", true]]
  541. attrs: []
  542. $ref:
  543. - "normalize/acl"
  544. - variable: path
  545. label: Host Path
  546. description: The host path to use for storage.
  547. schema:
  548. type: hostpath
  549. show_if: [["acl_enable", "=", false]]
  550. required: true
  551. - variable: ix_volume_config
  552. label: ixVolume Configuration
  553. description: The configuration for the ixVolume dataset.
  554. schema:
  555. type: dict
  556. show_if: [["type", "=", "ix_volume"]]
  557. $ref:
  558. - "normalize/ix_volume"
  559. attrs:
  560. - variable: acl_enable
  561. label: Enable ACL
  562. description: Enable ACL for the storage.
  563. schema:
  564. type: boolean
  565. default: false
  566. - variable: dataset_name
  567. label: Dataset Name
  568. description: The name of the dataset to use for storage.
  569. schema:
  570. type: string
  571. required: true
  572. default: "storage_entry"
  573. - variable: acl_entries
  574. label: ACL Configuration
  575. schema:
  576. type: dict
  577. show_if: [["acl_enable", "=", true]]
  578. attrs: []
  579. $ref:
  580. - "normalize/acl"
  581. - variable: cifs_config
  582. label: SMB Configuration
  583. description: The configuration for the SMB dataset.
  584. schema:
  585. type: dict
  586. show_if: [["type", "=", "cifs"]]
  587. attrs:
  588. - variable: server
  589. label: Server
  590. description: The server to mount the SMB share.
  591. schema:
  592. type: string
  593. required: true
  594. - variable: path
  595. label: Path
  596. description: The path to mount the SMB share.
  597. schema:
  598. type: string
  599. required: true
  600. - variable: username
  601. label: Username
  602. description: The username to use for the SMB share.
  603. schema:
  604. type: string
  605. required: true
  606. - variable: password
  607. label: Password
  608. description: The password to use for the SMB share.
  609. schema:
  610. type: string
  611. required: true
  612. private: true
  613. - variable: domain
  614. label: Domain
  615. description: The domain to use for the SMB share.
  616. schema:
  617. type: string
  618. - variable: labels
  619. label: ""
  620. group: Labels Configuration
  621. schema:
  622. type: list
  623. default: []
  624. items:
  625. - variable: label
  626. label: Label
  627. schema:
  628. type: dict
  629. attrs:
  630. - variable: key
  631. label: Key
  632. schema:
  633. type: string
  634. required: true
  635. - variable: value
  636. label: Value
  637. schema:
  638. type: string
  639. required: true
  640. - variable: containers
  641. label: Containers
  642. description: Containers where the label should be applied
  643. schema:
  644. type: list
  645. items:
  646. - variable: container
  647. label: Container
  648. schema:
  649. type: string
  650. required: true
  651. enum:
  652. - value: web
  653. description: web
  654. - value: worker
  655. description: worker
  656. - value: postgres
  657. description: postgres
  658. - variable: resources
  659. label: ""
  660. group: Resources Configuration
  661. schema:
  662. type: dict
  663. attrs:
  664. - variable: limits
  665. label: Limits
  666. schema:
  667. type: dict
  668. attrs:
  669. - variable: cpus
  670. label: CPUs
  671. description: CPUs limit for Concourse.
  672. schema:
  673. type: int
  674. default: 2
  675. required: true
  676. - variable: memory
  677. label: Memory (in MB)
  678. description: Memory limit for Concourse.
  679. schema:
  680. type: int
  681. default: 4096
  682. required: true