options.js 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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 ISO 639-1 language code.',
  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: 'email',
  69. label: 'Email',
  70. description: 'Set the admin account email.',
  71. type: 'text',
  72. default: '',
  73. },
  74. {
  75. flag: 'password',
  76. label: 'Password',
  77. description: 'Set the admin account password.',
  78. type: 'text',
  79. default: '',
  80. },
  81. {
  82. flag: 'apache',
  83. label: 'Apache',
  84. description: 'Web server with htaccess support.',
  85. default: 'yes',
  86. },
  87. {
  88. flag: 'phpfpm',
  89. label: 'PHP-FPM',
  90. description: 'Process manager for executing PHP scripts.',
  91. default: 'no',
  92. },
  93. {
  94. flag: 'multiphp',
  95. label: 'MultiPHP',
  96. description: 'Allows installing multiple PHP versions.',
  97. default: 'yes',
  98. },
  99. {
  100. flag: 'vsftpd',
  101. label: 'VSFTPD',
  102. description: 'Lightweight, minimalist and secure FTP server.',
  103. default: 'yes',
  104. },
  105. {
  106. flag: 'proftpd',
  107. label: 'ProFTPD',
  108. description: 'Advanced, modular FTP server that supports LDAP.',
  109. default: 'no',
  110. },
  111. {
  112. flag: 'named',
  113. label: 'BIND',
  114. description: 'Custom DNS name server.',
  115. default: 'yes',
  116. },
  117. {
  118. flag: 'mysql',
  119. label: 'MariaDB',
  120. description: 'Fork of MySQL with additional features and improvements.',
  121. default: 'yes',
  122. },
  123. {
  124. flag: 'mysql8',
  125. label: 'MySQL 8',
  126. description: 'Open-source relational database management system.',
  127. default: 'no',
  128. },
  129. {
  130. flag: 'postgresql',
  131. label: 'PostgreSQL',
  132. description: 'Open-source relational database management system.',
  133. default: 'no',
  134. },
  135. {
  136. flag: 'exim',
  137. label: 'Exim',
  138. description: 'Allows sending emails from web-mail or via SMTP.',
  139. default: 'yes',
  140. },
  141. {
  142. flag: 'dovecot',
  143. label: 'Dovecot',
  144. description: 'Receive emails and connect with email clients via IMAP/POP3.',
  145. default: 'yes',
  146. },
  147. {
  148. flag: 'sieve',
  149. label: 'Sieve',
  150. description: 'Language for managing your own custom email filters.',
  151. default: 'no',
  152. },
  153. {
  154. flag: 'clamav',
  155. label: 'ClamAV',
  156. description: 'Scans your email inbox for viruses.',
  157. default: 'yes',
  158. },
  159. {
  160. flag: 'spamassassin',
  161. label: 'SpamAssassin',
  162. description: 'Filter out spam emails from your inbox.',
  163. default: 'yes',
  164. },
  165. {
  166. flag: 'iptables',
  167. label: 'iptables',
  168. description: 'Allows firewall rule management within Hestia.',
  169. default: 'yes',
  170. },
  171. {
  172. flag: 'fail2ban',
  173. label: 'Fail2Ban',
  174. description: 'Provides brute force protection for SSH, email, FTP and databases.',
  175. default: 'yes',
  176. },
  177. {
  178. flag: 'quota',
  179. label: 'Filesystem quota',
  180. description: 'Use hard disk space limits on user packages.',
  181. default: 'no',
  182. },
  183. {
  184. flag: 'api',
  185. label: 'Hestia API',
  186. description: "Enable Hestia's internal API.",
  187. default: 'yes',
  188. },
  189. {
  190. flag: 'interactive',
  191. label: 'Interactive install',
  192. description: 'Enable interactive install.',
  193. default: 'yes',
  194. },
  195. {
  196. flag: 'force',
  197. label: 'Force installation',
  198. description: 'Force the installation.',
  199. default: 'no',
  200. },
  201. ];