questions.yaml 21 KB

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