questions.yaml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832
  1. groups:
  2. - name: Outline Configuration
  3. description: Configure Outline
  4. - name: Network Configuration
  5. description: Configure Network for Outline
  6. - name: Storage Configuration
  7. description: Configure Storage for Outline
  8. - name: Labels Configuration
  9. description: Configure Labels for Outline
  10. - name: Resources Configuration
  11. description: Configure Resources for Outline
  12. questions:
  13. - variable: TZ
  14. group: Outline Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: outline
  23. label: ""
  24. group: Outline 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 Outline.
  47. schema:
  48. type: string
  49. default: ""
  50. required: true
  51. private: true
  52. - variable: redis_password
  53. label: Redis Password
  54. description: The password for Redis.
  55. schema:
  56. type: string
  57. default: ""
  58. required: true
  59. private: true
  60. - variable: secret_key
  61. label: Secret Key
  62. description: The secret key for Outline.
  63. schema:
  64. type: string
  65. default: ""
  66. min_length: 64
  67. max_length: 64
  68. valid_chars: "^[a-f0-9]+$"
  69. valid_chars_error: |
  70. Secret must be a hexadecimal string.</br>
  71. Allowed characters are [a-f] and [0-9].
  72. required: true
  73. private: true
  74. - variable: utils_secret
  75. label: Utils Secret
  76. description: The utils secret for Outline.
  77. schema:
  78. type: string
  79. default: ""
  80. min_length: 64
  81. max_length: 64
  82. valid_chars: "^[a-f0-9]+$"
  83. valid_chars_error: |
  84. RPC Secret must be a hexadecimal string.</br>
  85. Allowed characters are [a-f] and [0-9].
  86. required: true
  87. private: true
  88. - variable: app_url
  89. label: App URL
  90. description: |
  91. The base URL for Outline.</br>
  92. Examples:</br>
  93. https://outline.example.com </br>
  94. http://192.168.1.100:30064
  95. schema:
  96. type: uri
  97. default: ""
  98. required: true
  99. - variable: force_https
  100. label: Force HTTPS
  101. description: |
  102. Force HTTPS for Outline. </br>
  103. Auto-redirects HTTP to HTTPS.
  104. schema:
  105. type: boolean
  106. default: false
  107. - variable: oidc_auth
  108. label: OIDC Authentication
  109. description: OIDC Authentication for Outline.
  110. schema:
  111. type: dict
  112. attrs:
  113. - variable: enabled
  114. label: Enabled
  115. description: Enable OIDC Authentication for Outline.
  116. schema:
  117. type: boolean
  118. default: false
  119. - variable: client_id
  120. label: Client ID
  121. description: The client ID for OIDC Authentication.
  122. schema:
  123. type: string
  124. show_if: [["enabled", "=", true]]
  125. required: true
  126. private: true
  127. - variable: client_secret
  128. label: Client Secret
  129. description: The client secret for OIDC Authentication.
  130. schema:
  131. type: string
  132. show_if: [["enabled", "=", true]]
  133. required: true
  134. private: true
  135. - variable: auth_uri
  136. label: Auth URI
  137. description: The auth URI for OIDC Authentication.
  138. schema:
  139. type: string
  140. show_if: [["enabled", "=", true]]
  141. required: true
  142. - variable: token_uri
  143. label: Token URI
  144. description: The token URI for OIDC Authentication.
  145. schema:
  146. type: string
  147. show_if: [["enabled", "=", true]]
  148. required: true
  149. - variable: userinfo_uri
  150. label: Userinfo URI
  151. description: The userinfo URI for OIDC Authentication.
  152. schema:
  153. type: string
  154. show_if: [["enabled", "=", true]]
  155. required: true
  156. - variable: logout_uri
  157. label: Logout URI
  158. description: The logout URI for OIDC Authentication.
  159. schema:
  160. type: string
  161. show_if: [["enabled", "=", true]]
  162. required: true
  163. - variable: username_claim
  164. label: Username Claim
  165. description: The username claim for OIDC Authentication.
  166. schema:
  167. type: string
  168. show_if: [["enabled", "=", true]]
  169. required: true
  170. - variable: display_name
  171. label: Display Name
  172. description: The display name for OIDC Authentication.
  173. schema:
  174. type: string
  175. show_if: [["enabled", "=", true]]
  176. required: true
  177. - variable: scopes
  178. label: Scopes
  179. description: The scopes for OIDC Authentication.
  180. schema:
  181. type: list
  182. show_if: [["enabled", "=", true]]
  183. items:
  184. - variable: scope
  185. label: Scope
  186. schema:
  187. type: string
  188. required: true
  189. - variable: slack_auth
  190. label: Slack Authentication
  191. description: Slack Authentication for Outline.
  192. schema:
  193. type: dict
  194. attrs:
  195. - variable: enabled
  196. label: Enabled
  197. description: Enable Slack Authentication for Outline.
  198. schema:
  199. type: boolean
  200. default: false
  201. - variable: client_id
  202. label: Client ID
  203. description: The client ID for Slack Authentication.
  204. schema:
  205. type: string
  206. show_if: [["enabled", "=", true]]
  207. required: true
  208. private: true
  209. - variable: client_secret
  210. label: Client Secret
  211. description: The client secret for Slack Authentication.
  212. schema:
  213. type: string
  214. show_if: [["enabled", "=", true]]
  215. required: true
  216. private: true
  217. - variable: google_auth
  218. label: Google Authentication
  219. description: Google Authentication for Outline.
  220. schema:
  221. type: dict
  222. attrs:
  223. - variable: enabled
  224. label: Enabled
  225. description: Enable Google Authentication for Outline.
  226. schema:
  227. type: boolean
  228. default: false
  229. - variable: client_id
  230. label: Client ID
  231. description: The client ID for Google Authentication.
  232. schema:
  233. type: string
  234. show_if: [["enabled", "=", true]]
  235. required: true
  236. private: true
  237. - variable: client_secret
  238. label: Client Secret
  239. description: The client secret for Google Authentication.
  240. schema:
  241. type: string
  242. show_if: [["enabled", "=", true]]
  243. required: true
  244. private: true
  245. - variable: azure_auth
  246. label: Azure Authentication
  247. description: Azure Authentication for Outline.
  248. schema:
  249. type: dict
  250. attrs:
  251. - variable: enabled
  252. label: Enabled
  253. description: Enable Azure Authentication for Outline.
  254. schema:
  255. type: boolean
  256. default: false
  257. - variable: client_id
  258. label: Client ID
  259. description: The client ID for Azure Authentication.
  260. schema:
  261. type: string
  262. show_if: [["enabled", "=", true]]
  263. required: true
  264. private: true
  265. - variable: client_secret
  266. label: Client Secret
  267. description: The client secret for Azure Authentication.
  268. schema:
  269. type: string
  270. show_if: [["enabled", "=", true]]
  271. required: true
  272. private: true
  273. - variable: resource_app_id
  274. label: Resource App ID
  275. description: The resource app ID for Azure Authentication.
  276. schema:
  277. type: string
  278. show_if: [["enabled", "=", true]]
  279. required: true
  280. private: true
  281. - variable: github_auth
  282. label: GitHub Authentication
  283. description: GitHub Authentication for Outline.
  284. schema:
  285. type: dict
  286. attrs:
  287. - variable: enabled
  288. label: Enabled
  289. description: Enable GitHub Authentication for Outline.
  290. schema:
  291. type: boolean
  292. default: false
  293. - variable: client_id
  294. label: Client ID
  295. description: The client ID for GitHub Authentication.
  296. schema:
  297. type: string
  298. show_if: [["enabled", "=", true]]
  299. required: true
  300. private: true
  301. - variable: client_secret
  302. label: Client Secret
  303. description: The client secret for GitHub Authentication.
  304. schema:
  305. type: string
  306. show_if: [["enabled", "=", true]]
  307. required: true
  308. private: true
  309. - variable: app_name
  310. label: App Name
  311. description: The app name for GitHub Authentication.
  312. schema:
  313. type: string
  314. show_if: [["enabled", "=", true]]
  315. required: true
  316. - variable: app_id
  317. label: App ID
  318. description: The app ID for GitHub Authentication.
  319. schema:
  320. type: string
  321. show_if: [["enabled", "=", true]]
  322. required: true
  323. - variable: app_private_key
  324. label: App Private Key
  325. description: The app private key for GitHub Authentication.
  326. schema:
  327. type: string
  328. show_if: [["enabled", "=", true]]
  329. max_length: 4096
  330. required: true
  331. private: true
  332. - variable: discord_auth
  333. label: Discord Authentication
  334. description: Discord Authentication for Outline.
  335. schema:
  336. type: dict
  337. attrs:
  338. - variable: enabled
  339. label: Enabled
  340. description: Enable Discord Authentication for Outline.
  341. schema:
  342. type: boolean
  343. default: false
  344. - variable: client_id
  345. label: Client ID
  346. description: The client ID for Discord Authentication.
  347. schema:
  348. type: string
  349. show_if: [["enabled", "=", true]]
  350. required: true
  351. private: true
  352. - variable: client_secret
  353. label: Client Secret
  354. description: The client secret for Discord Authentication.
  355. schema:
  356. type: string
  357. show_if: [["enabled", "=", true]]
  358. required: true
  359. private: true
  360. - variable: server_id
  361. label: Server ID
  362. description: The server ID for Discord Authentication.
  363. schema:
  364. type: string
  365. show_if: [["enabled", "=", true]]
  366. required: true
  367. - variable: server_roles
  368. label: Server Roles
  369. description: The server roles for Discord Authentication.
  370. schema:
  371. type: list
  372. show_if: [["enabled", "=", true]]
  373. items:
  374. - variable: role
  375. label: Role
  376. schema:
  377. type: string
  378. required: true
  379. - variable: additional_envs
  380. label: Additional Environment Variables
  381. schema:
  382. type: list
  383. default: []
  384. items:
  385. - variable: env
  386. label: Environment Variable
  387. schema:
  388. type: dict
  389. attrs:
  390. - variable: name
  391. label: Name
  392. schema:
  393. type: string
  394. required: true
  395. - variable: value
  396. label: Value
  397. schema:
  398. type: string
  399. - variable: network
  400. label: ""
  401. group: Network Configuration
  402. schema:
  403. type: dict
  404. attrs:
  405. - variable: web_port
  406. label: WebUI Port
  407. schema:
  408. type: dict
  409. attrs:
  410. - variable: bind_mode
  411. label: Port Bind Mode
  412. description: |
  413. The port bind mode.</br>
  414. - Publish: The port will be published on the host for external access.</br>
  415. - Expose: The port will be exposed for inter-container communication.</br>
  416. - None: The port will not be exposed or published.</br>
  417. Note: If the Dockerfile defines an EXPOSE directive,
  418. the port will still be exposed for inter-container communication regardless of this setting.
  419. schema:
  420. type: string
  421. default: "published"
  422. enum:
  423. - value: "published"
  424. description: Publish port on the host for external access
  425. - value: "exposed"
  426. description: Expose port for inter-container communication
  427. - value: ""
  428. description: None
  429. - variable: port_number
  430. label: Port Number
  431. schema:
  432. type: int
  433. default: 30144
  434. min: 1
  435. max: 65535
  436. required: true
  437. - variable: host_ips
  438. label: Host IPs
  439. description: IPs on the host to bind this port
  440. schema:
  441. type: list
  442. show_if: [["bind_mode", "=", "published"]]
  443. default: []
  444. items:
  445. - variable: host_ip
  446. label: Host IP
  447. schema:
  448. type: string
  449. required: true
  450. $ref:
  451. - definitions/node_bind_ip
  452. - variable: certificate_id
  453. label: Certificate
  454. description: The certificate to use for Outline.
  455. schema:
  456. type: int
  457. "null": true
  458. $ref:
  459. - definitions/certificate
  460. - variable: storage
  461. label: ""
  462. group: Storage Configuration
  463. schema:
  464. type: dict
  465. attrs:
  466. - variable: data
  467. label: Outline Data Storage
  468. description: The path to store Outline Data.
  469. schema:
  470. type: dict
  471. attrs:
  472. - variable: type
  473. label: Type
  474. description: |
  475. ixVolume: Is dataset created automatically by the system.</br>
  476. Host Path: Is a path that already exists on the system.
  477. schema:
  478. type: string
  479. required: true
  480. default: "ix_volume"
  481. enum:
  482. - value: "host_path"
  483. description: Host Path (Path that already exists on the system)
  484. - value: "ix_volume"
  485. description: ixVolume (Dataset created automatically by the system)
  486. - variable: ix_volume_config
  487. label: ixVolume Configuration
  488. description: The configuration for the ixVolume dataset.
  489. schema:
  490. type: dict
  491. show_if: [["type", "=", "ix_volume"]]
  492. $ref:
  493. - "normalize/ix_volume"
  494. attrs:
  495. - variable: acl_enable
  496. label: Enable ACL
  497. description: Enable ACL for the storage.
  498. schema:
  499. type: boolean
  500. default: false
  501. - variable: dataset_name
  502. label: Dataset Name
  503. description: The name of the dataset to use for storage.
  504. schema:
  505. type: string
  506. required: true
  507. hidden: true
  508. default: "data"
  509. - variable: acl_entries
  510. label: ACL Configuration
  511. schema:
  512. type: dict
  513. show_if: [["acl_enable", "=", true]]
  514. attrs: []
  515. - variable: host_path_config
  516. label: Host Path Configuration
  517. schema:
  518. type: dict
  519. show_if: [["type", "=", "host_path"]]
  520. attrs:
  521. - variable: acl_enable
  522. label: Enable ACL
  523. description: Enable ACL for the storage.
  524. schema:
  525. type: boolean
  526. default: false
  527. - variable: acl
  528. label: ACL Configuration
  529. schema:
  530. type: dict
  531. show_if: [["acl_enable", "=", true]]
  532. attrs: []
  533. $ref:
  534. - "normalize/acl"
  535. - variable: path
  536. label: Host Path
  537. description: The host path to use for storage.
  538. schema:
  539. type: hostpath
  540. show_if: [["acl_enable", "=", false]]
  541. required: true
  542. - variable: postgres_data
  543. label: Postgres Data Storage
  544. description: The path to store Postgres Data.
  545. schema:
  546. type: dict
  547. attrs:
  548. - variable: type
  549. label: Type
  550. description: |
  551. ixVolume: Is dataset created automatically by the system.</br>
  552. Host Path: Is a path that already exists on the system.
  553. schema:
  554. type: string
  555. required: true
  556. default: "ix_volume"
  557. enum:
  558. - value: "host_path"
  559. description: Host Path (Path that already exists on the system)
  560. - value: "ix_volume"
  561. description: ixVolume (Dataset created automatically by the system)
  562. - variable: ix_volume_config
  563. label: ixVolume Configuration
  564. description: The configuration for the ixVolume dataset.
  565. schema:
  566. type: dict
  567. show_if: [["type", "=", "ix_volume"]]
  568. $ref:
  569. - "normalize/ix_volume"
  570. attrs:
  571. - variable: acl_enable
  572. label: Enable ACL
  573. description: Enable ACL for the storage.
  574. schema:
  575. type: boolean
  576. default: false
  577. - variable: dataset_name
  578. label: Dataset Name
  579. description: The name of the dataset to use for storage.
  580. schema:
  581. type: string
  582. required: true
  583. hidden: true
  584. default: "pg_data"
  585. - variable: acl_entries
  586. label: ACL Configuration
  587. schema:
  588. type: dict
  589. show_if: [["acl_enable", "=", true]]
  590. attrs: []
  591. - variable: host_path_config
  592. label: Host Path Configuration
  593. schema:
  594. type: dict
  595. show_if: [["type", "=", "host_path"]]
  596. attrs:
  597. - variable: acl_enable
  598. label: Enable ACL
  599. description: Enable ACL for the storage.
  600. schema:
  601. type: boolean
  602. default: false
  603. - variable: acl
  604. label: ACL Configuration
  605. schema:
  606. type: dict
  607. show_if: [["acl_enable", "=", true]]
  608. attrs: []
  609. $ref:
  610. - "normalize/acl"
  611. - variable: path
  612. label: Host Path
  613. description: The host path to use for storage.
  614. schema:
  615. type: hostpath
  616. show_if: [["acl_enable", "=", false]]
  617. required: true
  618. - variable: auto_permissions
  619. label: Automatic Permissions
  620. description: |
  621. Automatically set permissions for the host path.
  622. Enabling this, will check the top level directory,</br>
  623. If it finds incorrect permissions, it will `chown` the
  624. host path to the user and group required for the
  625. postgres container.
  626. schema:
  627. type: boolean
  628. default: false
  629. show_if: [["acl_enable", "=", false]]
  630. - variable: additional_storage
  631. label: Additional Storage
  632. schema:
  633. type: list
  634. default: []
  635. items:
  636. - variable: storageEntry
  637. label: Storage Entry
  638. schema:
  639. type: dict
  640. attrs:
  641. - variable: type
  642. label: Type
  643. description: |
  644. ixVolume: Is dataset created automatically by the system.</br>
  645. Host Path: Is a path that already exists on the system.</br>
  646. SMB Share: Is a SMB share that is mounted to as a volume.
  647. schema:
  648. type: string
  649. required: true
  650. default: "ix_volume"
  651. enum:
  652. - value: "host_path"
  653. description: Host Path (Path that already exists on the system)
  654. - value: "ix_volume"
  655. description: ixVolume (Dataset created automatically by the system)
  656. - value: "cifs"
  657. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  658. - variable: read_only
  659. label: Read Only
  660. description: Mount the volume as read only.
  661. schema:
  662. type: boolean
  663. default: false
  664. - variable: mount_path
  665. label: Mount Path
  666. description: The path inside the container to mount the storage.
  667. schema:
  668. type: path
  669. required: true
  670. - variable: host_path_config
  671. label: Host Path Configuration
  672. schema:
  673. type: dict
  674. show_if: [["type", "=", "host_path"]]
  675. attrs:
  676. - variable: acl_enable
  677. label: Enable ACL
  678. description: Enable ACL for the storage.
  679. schema:
  680. type: boolean
  681. default: false
  682. - variable: acl
  683. label: ACL Configuration
  684. schema:
  685. type: dict
  686. show_if: [["acl_enable", "=", true]]
  687. attrs: []
  688. $ref:
  689. - "normalize/acl"
  690. - variable: path
  691. label: Host Path
  692. description: The host path to use for storage.
  693. schema:
  694. type: hostpath
  695. show_if: [["acl_enable", "=", false]]
  696. required: true
  697. - variable: ix_volume_config
  698. label: ixVolume Configuration
  699. description: The configuration for the ixVolume dataset.
  700. schema:
  701. type: dict
  702. show_if: [["type", "=", "ix_volume"]]
  703. $ref:
  704. - "normalize/ix_volume"
  705. attrs:
  706. - variable: acl_enable
  707. label: Enable ACL
  708. description: Enable ACL for the storage.
  709. schema:
  710. type: boolean
  711. default: false
  712. - variable: dataset_name
  713. label: Dataset Name
  714. description: The name of the dataset to use for storage.
  715. schema:
  716. type: string
  717. required: true
  718. default: "storage_entry"
  719. - variable: acl_entries
  720. label: ACL Configuration
  721. schema:
  722. type: dict
  723. show_if: [["acl_enable", "=", true]]
  724. attrs: []
  725. $ref:
  726. - "normalize/acl"
  727. - variable: cifs_config
  728. label: SMB Configuration
  729. description: The configuration for the SMB dataset.
  730. schema:
  731. type: dict
  732. show_if: [["type", "=", "cifs"]]
  733. attrs:
  734. - variable: server
  735. label: Server
  736. description: The server to mount the SMB share.
  737. schema:
  738. type: string
  739. required: true
  740. - variable: path
  741. label: Path
  742. description: The path to mount the SMB share.
  743. schema:
  744. type: string
  745. required: true
  746. - variable: username
  747. label: Username
  748. description: The username to use for the SMB share.
  749. schema:
  750. type: string
  751. required: true
  752. - variable: password
  753. label: Password
  754. description: The password to use for the SMB share.
  755. schema:
  756. type: string
  757. required: true
  758. private: true
  759. - variable: domain
  760. label: Domain
  761. description: The domain to use for the SMB share.
  762. schema:
  763. type: string
  764. - variable: labels
  765. label: ""
  766. group: Labels Configuration
  767. schema:
  768. type: list
  769. default: []
  770. items:
  771. - variable: label
  772. label: Label
  773. schema:
  774. type: dict
  775. attrs:
  776. - variable: key
  777. label: Key
  778. schema:
  779. type: string
  780. required: true
  781. - variable: value
  782. label: Value
  783. schema:
  784. type: string
  785. required: true
  786. - variable: containers
  787. label: Containers
  788. description: Containers where the label should be applied
  789. schema:
  790. type: list
  791. items:
  792. - variable: container
  793. label: Container
  794. schema:
  795. type: string
  796. required: true
  797. enum:
  798. - value: outline
  799. description: outline
  800. - value: redis
  801. description: redis
  802. - value: postgres
  803. description: postgres
  804. - variable: resources
  805. label: ""
  806. group: Resources Configuration
  807. schema:
  808. type: dict
  809. attrs:
  810. - variable: limits
  811. label: Limits
  812. schema:
  813. type: dict
  814. attrs:
  815. - variable: cpus
  816. label: CPUs
  817. description: CPUs limit for Outline.
  818. schema:
  819. type: int
  820. default: 2
  821. required: true
  822. - variable: memory
  823. label: Memory (in MB)
  824. description: Memory limit for Outline.
  825. schema:
  826. type: int
  827. default: 4096
  828. required: true