questions.yaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443
  1. groups:
  2. - name: ONLYOFFICE Document Server Configuration
  3. description: Configure ONLYOFFICE Document Server
  4. - name: Network Configuration
  5. description: Configure Network for ONLYOFFICE Document Server
  6. - name: Storage Configuration
  7. description: Configure Storage for ONLYOFFICE Document Server
  8. - name: Labels Configuration
  9. description: Configure Labels for ONLYOFFICE Document Server
  10. - name: Resources Configuration
  11. description: Configure Resources for ONLYOFFICE Document Server
  12. questions:
  13. - variable: TZ
  14. group: ONLYOFFICE Document Server Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: onlyoffice
  23. label: ""
  24. group: ONLYOFFICE Document Server 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 Authelia.
  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: jwt_secret
  61. label: JWT Secret
  62. description: The secret to use for JWT authentication.
  63. schema:
  64. type: string
  65. required: true
  66. private: true
  67. - variable: additional_envs
  68. label: Additional Environment Variables
  69. schema:
  70. type: list
  71. default: []
  72. items:
  73. - variable: env
  74. label: Environment Variable
  75. schema:
  76. type: dict
  77. attrs:
  78. - variable: name
  79. label: Name
  80. schema:
  81. type: string
  82. required: true
  83. - variable: value
  84. label: Value
  85. schema:
  86. type: string
  87. - variable: network
  88. label: ""
  89. group: Network Configuration
  90. schema:
  91. type: dict
  92. attrs:
  93. - variable: web_port
  94. label: Web Port
  95. schema:
  96. type: dict
  97. attrs:
  98. - variable: bind_mode
  99. label: Port Bind Mode
  100. description: |
  101. The port bind mode.</br>
  102. - Publish: The port will be published on the host for external access.</br>
  103. - Expose: The port will be exposed for inter-container communication.</br>
  104. - None: The port will not be exposed or published.</br>
  105. Note: If the Dockerfile defines an EXPOSE directive,
  106. the port will still be exposed for inter-container communication regardless of this setting.
  107. schema:
  108. type: string
  109. default: "published"
  110. enum:
  111. - value: "published"
  112. description: Publish port on the host for external access
  113. - value: "exposed"
  114. description: Expose port for inter-container communication
  115. - value: ""
  116. description: None
  117. - variable: port_number
  118. label: Port Number
  119. schema:
  120. type: int
  121. default: 30134
  122. min: 1
  123. max: 65535
  124. required: true
  125. - variable: host_ips
  126. label: Host IPs
  127. description: IPs on the host to bind this port
  128. schema:
  129. type: list
  130. show_if: [["bind_mode", "=", "published"]]
  131. default: []
  132. items:
  133. - variable: host_ip
  134. label: Host IP
  135. schema:
  136. type: string
  137. required: true
  138. $ref:
  139. - definitions/node_bind_ip
  140. - variable: certificate_id
  141. label: Certificate
  142. description: The certificate to use for ONLYOFFICE Document Server.
  143. schema:
  144. type: int
  145. "null": true
  146. $ref:
  147. - "definitions/certificate"
  148. - variable: storage
  149. label: ""
  150. group: Storage Configuration
  151. schema:
  152. type: dict
  153. attrs:
  154. - variable: postgres_data
  155. label: Postgres Data Storage
  156. description: The path to store Postgres Data.
  157. schema:
  158. type: dict
  159. attrs:
  160. - variable: type
  161. label: Type
  162. description: |
  163. ixVolume: Is dataset created automatically by the system.</br>
  164. Host Path: Is a path that already exists on the system.
  165. schema:
  166. type: string
  167. required: true
  168. default: "ix_volume"
  169. enum:
  170. - value: "host_path"
  171. description: Host Path (Path that already exists on the system)
  172. - value: "ix_volume"
  173. description: ixVolume (Dataset created automatically by the system)
  174. - variable: ix_volume_config
  175. label: ixVolume Configuration
  176. description: The configuration for the ixVolume dataset.
  177. schema:
  178. type: dict
  179. show_if: [["type", "=", "ix_volume"]]
  180. $ref:
  181. - "normalize/ix_volume"
  182. attrs:
  183. - variable: acl_enable
  184. label: Enable ACL
  185. description: Enable ACL for the storage.
  186. schema:
  187. type: boolean
  188. default: false
  189. - variable: dataset_name
  190. label: Dataset Name
  191. description: The name of the dataset to use for storage.
  192. schema:
  193. type: string
  194. required: true
  195. hidden: true
  196. default: "pg_data"
  197. - variable: acl_entries
  198. label: ACL Configuration
  199. schema:
  200. type: dict
  201. show_if: [["acl_enable", "=", true]]
  202. attrs: []
  203. - variable: host_path_config
  204. label: Host Path Configuration
  205. schema:
  206. type: dict
  207. show_if: [["type", "=", "host_path"]]
  208. attrs:
  209. - variable: acl_enable
  210. label: Enable ACL
  211. description: Enable ACL for the storage.
  212. schema:
  213. type: boolean
  214. default: false
  215. - variable: acl
  216. label: ACL Configuration
  217. schema:
  218. type: dict
  219. show_if: [["acl_enable", "=", true]]
  220. attrs: []
  221. $ref:
  222. - "normalize/acl"
  223. - variable: path
  224. label: Host Path
  225. description: The host path to use for storage.
  226. schema:
  227. type: hostpath
  228. show_if: [["acl_enable", "=", false]]
  229. required: true
  230. - variable: auto_permissions
  231. label: Automatic Permissions
  232. description: |
  233. Automatically set permissions for the host path.
  234. Enabling this, will check the top level directory,</br>
  235. If it finds incorrect permissions, it will `chown` the
  236. host path to the user and group required for the
  237. postgres container.
  238. schema:
  239. type: boolean
  240. default: false
  241. show_if: [["acl_enable", "=", false]]
  242. - variable: additional_storage
  243. label: Additional Storage
  244. schema:
  245. type: list
  246. default: []
  247. items:
  248. - variable: storageEntry
  249. label: Storage Entry
  250. schema:
  251. type: dict
  252. attrs:
  253. - variable: type
  254. label: Type
  255. description: |
  256. ixVolume: Is dataset created automatically by the system.</br>
  257. Host Path: Is a path that already exists on the system.</br>
  258. SMB Share: Is a SMB share that is mounted to as a volume.
  259. schema:
  260. type: string
  261. required: true
  262. default: "ix_volume"
  263. enum:
  264. - value: "host_path"
  265. description: Host Path (Path that already exists on the system)
  266. - value: "ix_volume"
  267. description: ixVolume (Dataset created automatically by the system)
  268. - value: "cifs"
  269. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  270. - variable: read_only
  271. label: Read Only
  272. description: Mount the volume as read only.
  273. schema:
  274. type: boolean
  275. default: false
  276. - variable: mount_path
  277. label: Mount Path
  278. description: The path inside the container to mount the storage.
  279. schema:
  280. type: path
  281. required: true
  282. - variable: host_path_config
  283. label: Host Path Configuration
  284. schema:
  285. type: dict
  286. show_if: [["type", "=", "host_path"]]
  287. attrs:
  288. - variable: acl_enable
  289. label: Enable ACL
  290. description: Enable ACL for the storage.
  291. schema:
  292. type: boolean
  293. default: false
  294. - variable: acl
  295. label: ACL Configuration
  296. schema:
  297. type: dict
  298. show_if: [["acl_enable", "=", true]]
  299. attrs: []
  300. $ref:
  301. - "normalize/acl"
  302. - variable: path
  303. label: Host Path
  304. description: The host path to use for storage.
  305. schema:
  306. type: hostpath
  307. show_if: [["acl_enable", "=", false]]
  308. required: true
  309. - variable: ix_volume_config
  310. label: ixVolume Configuration
  311. description: The configuration for the ixVolume dataset.
  312. schema:
  313. type: dict
  314. show_if: [["type", "=", "ix_volume"]]
  315. $ref:
  316. - "normalize/ix_volume"
  317. attrs:
  318. - variable: acl_enable
  319. label: Enable ACL
  320. description: Enable ACL for the storage.
  321. schema:
  322. type: boolean
  323. default: false
  324. - variable: dataset_name
  325. label: Dataset Name
  326. description: The name of the dataset to use for storage.
  327. schema:
  328. type: string
  329. required: true
  330. default: "storage_entry"
  331. - variable: acl_entries
  332. label: ACL Configuration
  333. schema:
  334. type: dict
  335. show_if: [["acl_enable", "=", true]]
  336. attrs: []
  337. $ref:
  338. - "normalize/acl"
  339. - variable: cifs_config
  340. label: SMB Configuration
  341. description: The configuration for the SMB dataset.
  342. schema:
  343. type: dict
  344. show_if: [["type", "=", "cifs"]]
  345. attrs:
  346. - variable: server
  347. label: Server
  348. description: The server to mount the SMB share.
  349. schema:
  350. type: string
  351. required: true
  352. - variable: path
  353. label: Path
  354. description: The path to mount the SMB share.
  355. schema:
  356. type: string
  357. required: true
  358. - variable: username
  359. label: Username
  360. description: The username to use for the SMB share.
  361. schema:
  362. type: string
  363. required: true
  364. - variable: password
  365. label: Password
  366. description: The password to use for the SMB share.
  367. schema:
  368. type: string
  369. required: true
  370. private: true
  371. - variable: domain
  372. label: Domain
  373. description: The domain to use for the SMB share.
  374. schema:
  375. type: string
  376. - variable: labels
  377. label: ""
  378. group: Labels Configuration
  379. schema:
  380. type: list
  381. default: []
  382. items:
  383. - variable: label
  384. label: Label
  385. schema:
  386. type: dict
  387. attrs:
  388. - variable: key
  389. label: Key
  390. schema:
  391. type: string
  392. required: true
  393. - variable: value
  394. label: Value
  395. schema:
  396. type: string
  397. required: true
  398. - variable: containers
  399. label: Containers
  400. description: Containers where the label should be applied
  401. schema:
  402. type: list
  403. items:
  404. - variable: container
  405. label: Container
  406. schema:
  407. type: string
  408. required: true
  409. enum:
  410. - value: onlyoffice
  411. description: onlyoffice
  412. - value: postgres
  413. description: postgres
  414. - value: redis
  415. description: redis
  416. - variable: resources
  417. label: ""
  418. group: Resources Configuration
  419. schema:
  420. type: dict
  421. attrs:
  422. - variable: limits
  423. label: Limits
  424. schema:
  425. type: dict
  426. attrs:
  427. - variable: cpus
  428. label: CPUs
  429. description: CPUs limit for ONLYOFFICE Document Server.
  430. schema:
  431. type: int
  432. default: 2
  433. required: true
  434. - variable: memory
  435. label: Memory (in MB)
  436. description: Memory limit for ONLYOFFICE Document Server.
  437. schema:
  438. type: int
  439. default: 4096
  440. required: true