questions.yaml 23 KB

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