options.js 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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',
  104. default: 'no',
  105. },
  106. {
  107. flag: 'vsftpd',
  108. label: 'VSFTPD',
  109. description: 'Lightweight, minimalist and secure FTP server',
  110. default: 'yes',
  111. },
  112. {
  113. flag: 'proftpd',
  114. label: 'ProFTPD',
  115. description: 'Advanced, modular FTP server that supports LDAP',
  116. default: 'no',
  117. },
  118. {
  119. flag: 'named',
  120. label: 'BIND',
  121. description: 'Custom DNS name server',
  122. default: 'yes',
  123. },
  124. {
  125. flag: 'mysql',
  126. label: 'MariaDB',
  127. description: 'Fork of MySQL with additional features and improvements',
  128. default: 'yes',
  129. },
  130. {
  131. flag: 'mysql8',
  132. label: 'MySQL 8',
  133. description: 'Open-source relational database management system',
  134. default: 'no',
  135. },
  136. {
  137. flag: 'postgresql',
  138. label: 'PostgreSQL',
  139. description: 'Open-source relational database management system',
  140. default: 'no',
  141. },
  142. {
  143. flag: 'exim',
  144. label: 'Exim',
  145. description: 'Allows sending emails from web-mail or via SMTP',
  146. default: 'yes',
  147. },
  148. {
  149. flag: 'dovecot',
  150. label: 'Dovecot',
  151. description: 'Receive emails and connect with email clients via IMAP/POP3',
  152. default: 'yes',
  153. },
  154. {
  155. flag: 'sieve',
  156. label: 'Sieve',
  157. description: 'Language for managing your own custom email filters',
  158. default: 'no',
  159. },
  160. {
  161. flag: 'clamav',
  162. label: 'ClamAV',
  163. description: 'Scans your email inbox for viruses',
  164. default: 'yes',
  165. },
  166. {
  167. flag: 'spamassassin',
  168. label: 'SpamAssassin',
  169. description: 'Filter out spam emails from your inbox',
  170. default: 'yes',
  171. },
  172. {
  173. flag: 'iptables',
  174. label: 'iptables',
  175. description: 'Allows firewall rule management within Hestia',
  176. default: 'yes',
  177. },
  178. {
  179. flag: 'fail2ban',
  180. label: 'Fail2Ban',
  181. description: 'Provides brute force protection for SSH, email, FTP and databases',
  182. default: 'yes',
  183. },
  184. {
  185. flag: 'quota',
  186. label: 'Filesystem quota',
  187. description: 'Use hard disk space limits on user packages',
  188. default: 'no',
  189. },
  190. {
  191. flag: 'webterminal',
  192. label: 'Web Terminal',
  193. description: 'Web-based SSH terminal',
  194. default: 'no',
  195. },
  196. {
  197. flag: 'api',
  198. label: 'Hestia API',
  199. description: "Enable Hestia's internal API.",
  200. default: 'yes',
  201. },
  202. {
  203. flag: 'interactive',
  204. label: 'Interactive install',
  205. description: 'Run the install interactively',
  206. default: 'yes',
  207. },
  208. {
  209. flag: 'force',
  210. label: 'Force installation',
  211. description: 'Force the installation',
  212. default: 'no',
  213. },
  214. ];