options.js 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. export const options = [
  2. {
  3. flag: 'port',
  4. label: 'Port',
  5. description: 'Change the port Hestia uses',
  6. type: 'text',
  7. default: '8083',
  8. },
  9. {
  10. flag: 'lang',
  11. label: 'Language',
  12. description: 'Change the interface language',
  13. type: 'select',
  14. default: 'en',
  15. options: [
  16. { label: 'Albanian', value: 'sq' },
  17. { label: 'Arabic', value: 'ar' },
  18. { label: 'Armenian', value: 'hy' },
  19. { label: 'Azerbaijani', value: 'az' },
  20. { label: 'Bengali', value: 'bn' },
  21. { label: 'Bosnian', value: 'bs' },
  22. { label: 'Bulgarian', value: 'bg' },
  23. { label: 'Catalan', value: 'ca' },
  24. { label: 'Croatian', value: 'hr' },
  25. { label: 'Czech', value: 'cs' },
  26. { label: 'Danish', value: 'da' },
  27. { label: 'Dutch', value: 'nl' },
  28. { label: 'English', value: 'en' },
  29. { label: 'Finnish', value: 'fi' },
  30. { label: 'French', value: 'fr' },
  31. { label: 'Georgian', value: 'ka' },
  32. { label: 'German', value: 'de' },
  33. { label: 'Greek', value: 'el' },
  34. { label: 'Hungarian', value: 'hu' },
  35. { label: 'Indonesian', value: 'id' },
  36. { label: 'Italian', value: 'it' },
  37. { label: 'Japanese', value: 'ja' },
  38. { label: 'Korean', value: 'ko' },
  39. { label: 'Kurdish Sorani', value: 'ku' },
  40. { label: 'Norwegian', value: 'no' },
  41. { label: 'Persian', value: 'fa' },
  42. { label: 'Polish', value: 'pl' },
  43. { label: 'Portuguese', value: 'pt' },
  44. { label: 'Portuguese (Brasil)', value: 'pt-br' },
  45. { label: 'Romanian', value: 'ro' },
  46. { label: 'Russian', value: 'ru' },
  47. { label: 'Serbian', value: 'sr' },
  48. { label: 'Simplified Chinese (China)', value: 'zh-cn' },
  49. { label: 'Slovak', value: 'sk' },
  50. { label: 'Spanish', value: 'es' },
  51. { label: 'Swedish', value: 'sv' },
  52. { label: 'Thai', value: 'th' },
  53. { label: 'Traditional Chinese (Taiwan)', value: 'zh-tw' },
  54. { label: 'Turkish', value: 'tr' },
  55. { label: 'Ukrainian', value: 'uk' },
  56. { label: 'Urdu', value: 'ur' },
  57. { label: 'Vietnamese', value: 'vi' },
  58. ],
  59. },
  60. {
  61. flag: 'hostname',
  62. label: 'Hostname',
  63. description: 'Set a custom hostname',
  64. type: 'text',
  65. default: '',
  66. },
  67. {
  68. flag: 'username',
  69. label: 'Username',
  70. description: 'Set the admin account username',
  71. type: 'text',
  72. default: '',
  73. },
  74. {
  75. flag: 'email',
  76. label: 'Email',
  77. description: 'Set the admin account email',
  78. type: 'text',
  79. default: '',
  80. },
  81. {
  82. flag: 'password',
  83. label: 'Password',
  84. description: 'Set the admin account password',
  85. type: 'text',
  86. default: '',
  87. },
  88. {
  89. flag: 'apache',
  90. label: 'Apache',
  91. description: 'Web server with htaccess support',
  92. default: 'yes',
  93. },
  94. {
  95. flag: 'phpfpm',
  96. label: 'PHP-FPM',
  97. description: 'Process manager for executing PHP scripts',
  98. default: 'yes',
  99. },
  100. {
  101. flag: 'multiphp',
  102. label: 'MultiPHP',
  103. description: 'Allows installing multiple PHP versions, specify comma separated. Eg: 7.4,8.3',
  104. type: 'text',
  105. default: 'no',
  106. },
  107. {
  108. flag: 'vsftpd',
  109. label: 'VSFTPD',
  110. description: 'Lightweight, minimalist and secure FTP server',
  111. default: 'yes',
  112. },
  113. {
  114. flag: 'proftpd',
  115. label: 'ProFTPD',
  116. description: 'Advanced, modular FTP server that supports LDAP',
  117. default: 'no',
  118. },
  119. {
  120. flag: 'named',
  121. label: 'BIND',
  122. description: 'Custom DNS name server',
  123. default: 'yes',
  124. },
  125. {
  126. flag: 'mysql',
  127. label: 'MariaDB',
  128. description: 'Fork of MySQL with additional features and improvements',
  129. default: 'yes',
  130. },
  131. {
  132. flag: 'mysql8',
  133. label: 'MySQL 8',
  134. description: 'Open-source relational database management system',
  135. default: 'no',
  136. },
  137. {
  138. flag: 'postgresql',
  139. label: 'PostgreSQL',
  140. description: 'Open-source relational database management system',
  141. default: 'no',
  142. },
  143. {
  144. flag: 'exim',
  145. label: 'Exim',
  146. description: 'Allows sending emails from web-mail or via SMTP',
  147. default: 'yes',
  148. },
  149. {
  150. flag: 'dovecot',
  151. label: 'Dovecot',
  152. description: 'Receive emails and connect with email clients via IMAP/POP3',
  153. default: 'yes',
  154. },
  155. {
  156. flag: 'sieve',
  157. label: 'Sieve',
  158. description: 'Language for managing your own custom email filters',
  159. default: 'no',
  160. },
  161. {
  162. flag: 'clamav',
  163. label: 'ClamAV',
  164. description: 'Scans your email inbox for viruses',
  165. default: 'yes',
  166. },
  167. {
  168. flag: 'spamassassin',
  169. label: 'SpamAssassin',
  170. description: 'Filter out spam emails from your inbox',
  171. default: 'yes',
  172. },
  173. {
  174. flag: 'iptables',
  175. label: 'iptables',
  176. description: 'Allows firewall rule management within Hestia',
  177. default: 'yes',
  178. },
  179. {
  180. flag: 'fail2ban',
  181. label: 'Fail2Ban',
  182. description: 'Provides brute force protection for SSH, email, FTP and databases',
  183. default: 'yes',
  184. },
  185. {
  186. flag: 'quota',
  187. label: 'Filesystem quota',
  188. description: 'Use hard disk space limits on user packages',
  189. default: 'no',
  190. },
  191. {
  192. flag: 'webterminal',
  193. label: 'Web Terminal',
  194. description: 'Web-based SSH terminal',
  195. default: 'no',
  196. },
  197. {
  198. flag: 'api',
  199. label: 'Hestia API',
  200. description: "Enable Hestia's internal API.",
  201. default: 'yes',
  202. },
  203. {
  204. flag: 'interactive',
  205. label: 'Interactive install',
  206. description: 'Run the install interactively',
  207. default: 'yes',
  208. },
  209. {
  210. flag: 'force',
  211. label: 'Force installation',
  212. description: 'Force the installation',
  213. default: 'no',
  214. },
  215. ];