miniflux.1 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. .\" Manpage for miniflux.
  2. .TH "MINIFLUX" "1" "June 8, 2019" "\ \&" "\ \&"
  3. .SH NAME
  4. miniflux \- Minimalist and opinionated feed reader
  5. .SH SYNOPSIS
  6. \fBminiflux\fR [-vic] [-create-admin] [-debug] [-flush-sessions] [-info] [-migrate]
  7. [-reset-feed-errors] [-reset-password] [-version] [-config-file] [-config-dump]
  8. .SH DESCRIPTION
  9. \fBminiflux\fR is a minimalist and opinionated feed reader.
  10. .SH OPTIONS
  11. .PP
  12. .B \-c
  13. .RS 4
  14. Load configuration file\&.
  15. .RE
  16. .PP
  17. .B \-config-file
  18. .RS 4
  19. Load configuration file\&.
  20. .RE
  21. .PP
  22. .B \-config-dump
  23. .RS 4
  24. Print parsed configuration values\&.
  25. .RE
  26. .PP
  27. .B \-create-admin
  28. .RS 4
  29. Create admin user\&.
  30. .RE
  31. .PP
  32. .B \-debug
  33. .RS 4
  34. Show debug logs\&.
  35. .RE
  36. .PP
  37. .B \-flush-sessions
  38. .RS 4
  39. Flush all sessions (disconnect users)\&.
  40. .RE
  41. .PP
  42. .B \-i
  43. .RS 4
  44. Show application information\&.
  45. .RE
  46. .PP
  47. .B \-info
  48. .RS 4
  49. Show application information\&.
  50. .RE
  51. .PP
  52. .B \-migrate
  53. .RS 4
  54. Run SQL migrations\&.
  55. .RE
  56. .PP
  57. .B \-reset-feed-errors
  58. .RS 4
  59. Clear all feed errors for all users\&.
  60. .RE
  61. .PP
  62. .B \-reset-password
  63. .RS 4
  64. Reset user password\&.
  65. .RE
  66. .PP
  67. .B \-v
  68. .RS 4
  69. Show application version\&.
  70. .RE
  71. .PP
  72. .B \-version
  73. .RS 4
  74. Show application version\&.
  75. .RE
  76. .SH CONFIGURATION FILE
  77. The configuration file is a text file that follow these rules:
  78. .LP
  79. - Miniflux expects each line to be in KEY=VALUE format.
  80. .br
  81. - Lines beginning with # are processed as comments and ignored.
  82. .br
  83. - Blank lines are ignored.
  84. .br
  85. - There is no variable interpolation.
  86. .PP
  87. Keys are the same as the environment variables described below.
  88. .br
  89. Environment variables override the values defined in the config file.
  90. .SH ENVIRONMENT
  91. .TP
  92. .B DEBUG
  93. Set the value to 1 to enable debug logs\&.
  94. .TP
  95. .B LOG_DATE_TIME
  96. Display the date and time in log messages\&.
  97. .TP
  98. .B WORKER_POOL_SIZE
  99. Number of background workers (default is 5)\&.
  100. .TP
  101. .B POLLING_FREQUENCY
  102. Refresh interval in minutes for feeds (default is 60 minutes)\&.
  103. .TP
  104. .B BATCH_SIZE
  105. Number of feeds to send to the queue for each interval (default is 10)\&.
  106. .TP
  107. .B POLLING_SCHEDULER
  108. Scheduler used for polling feeds. Possible values are "round_robin" (default) or "entry_frequency"\&.
  109. .TP
  110. .B SCHEDULER_ENTRY_FREQUENCY_MAX_INTERVAL
  111. Maximum interval in minutes for the entry frequency scheduler (default is 24 hours)\&.
  112. .TP
  113. .B SCHEDULER_ENTRY_FREQUENCY_MIN_INTERVAL
  114. Minimum interval in minutes for the entry frequency scheduler (default is 5 minutes)\&.
  115. .TP
  116. .B DATABASE_URL
  117. Postgresql connection parameters\&.
  118. .br
  119. Default is "user=postgres password=postgres dbname=miniflux2 sslmode=disable"\&.
  120. .TP
  121. .B DATABASE_URL_FILE
  122. Path to a secret key exposed as a file, it should contain $DATABASE_URL value\&.
  123. .TP
  124. .B DATABASE_MAX_CONNS
  125. Maximum number of database connections (default is 20)\&.
  126. .TP
  127. .B DATABASE_MIN_CONNS
  128. Minimum number of database connections (default is 1)\&.
  129. .TP
  130. .B LISTEN_ADDR
  131. Address to listen on. Default is 127.0.0.1:8080\&.
  132. .br
  133. Use absolute path to listen on Unix socket (/var/run/miniflux.sock)\&.
  134. .TP
  135. .B PORT
  136. Override LISTEN_ADDR to 0.0.0.0:$PORT\&.
  137. .TP
  138. .B BASE_URL
  139. Base URL to generate HTML links and base path for cookies\&.
  140. .br
  141. Default is http://localhost/\&.
  142. .TP
  143. .B CLEANUP_FREQUENCY_HOURS
  144. Cleanup job frequency, remove old sessions and archive read entries\&.
  145. .br
  146. Default is 24 hours\&.
  147. .TP
  148. .B CLEANUP_ARCHIVE_READ_DAYS
  149. Number of days after marking read items as removed\&.
  150. .br
  151. Default is 60 days\&.
  152. .TP
  153. .B CLEANUP_REMOVE_SESSIONS_DAYS
  154. Number of days after removing old sessions from the database\&.
  155. .br
  156. Default is 30 days\&.
  157. .TP
  158. .B HTTPS
  159. Forces cookies to use secure flag and send HSTS header\&.
  160. .TP
  161. .B DISABLE_HSTS
  162. Disable HTTP Strict Transport Security header if \fBHTTPS\fR is set\&.
  163. .TP
  164. .B DISABLE_HTTP_SERVICE
  165. Set the value to 1 to disable the HTTP service\&.
  166. .TP
  167. .B DISABLE_SCHEDULER_SERVICE
  168. Set the value to 1 to disable the internal scheduler service\&.
  169. .TP
  170. .B CERT_FILE
  171. Path to SSL certificate\&.
  172. .TP
  173. .B KEY_FILE
  174. Path to SSL private key\&.
  175. .TP
  176. .B CERT_DOMAIN
  177. Use Let's Encrypt to get automatically a certificate for this domain\&.
  178. .TP
  179. .B CERT_CACHE
  180. Let's Encrypt cache directory (default is /tmp/cert_cache)\&.
  181. .TP
  182. .B OAUTH2_PROVIDER
  183. OAuth2 provider to use\&. Only google is supported\&.
  184. .TP
  185. .B OAUTH2_CLIENT_ID
  186. OAuth2 client ID\&.
  187. .TP
  188. .B OAUTH2_CLIENT_ID_FILE
  189. Path to a secret key exposed as a file, it should contain $OAUTH2_CLIENT_ID value\&.
  190. .TP
  191. .B OAUTH2_CLIENT_SECRET
  192. OAuth2 client secret\&.
  193. .TP
  194. .B OAUTH2_CLIENT_SECRET_FILE
  195. Path to a secret key exposed as a file, it should contain $OAUTH2_CLIENT_SECRET value\&.
  196. .TP
  197. .B OAUTH2_REDIRECT_URL
  198. OAuth2 redirect URL\&.
  199. .TP
  200. .B OAUTH2_OIDC_DISCOVERY_ENDPOINT
  201. OpenID Connect discovery endpoint\&.
  202. .TP
  203. .B OAUTH2_USER_CREATION
  204. Set to 1 to authorize OAuth2 user creation\&.
  205. .TP
  206. .B RUN_MIGRATIONS
  207. Set to 1 to run database migrations\&.
  208. .TP
  209. .B CREATE_ADMIN
  210. Set to 1 to create an admin user from environment variables\&.
  211. .TP
  212. .B ADMIN_USERNAME
  213. Admin user login, used only if $CREATE_ADMIN is enabled\&.
  214. .TP
  215. .B ADMIN_USERNAME_FILE
  216. Path to a secret key exposed as a file, it should contain $ADMIN_USERNAME value\&.
  217. .TP
  218. .B ADMIN_PASSWORD
  219. Admin user password, used only if $CREATE_ADMIN is enabled\&.
  220. .TP
  221. .B ADMIN_PASSWORD_FILE
  222. Path to a secret key exposed as a file, it should contain $ADMIN_PASSWORD value\&.
  223. .TP
  224. .B POCKET_CONSUMER_KEY
  225. Pocket consumer API key for all users\&.
  226. .TP
  227. .B POCKET_CONSUMER_KEY_FILE
  228. Path to a secret key exposed as a file, it should contain $POCKET_CONSUMER_KEY value\&.
  229. .TP
  230. .B PROXY_IMAGES
  231. Avoids mixed content warnings for external images: http-only, all, or none\&.
  232. .br
  233. Default is http-only\&.
  234. .TP
  235. .B HTTP_CLIENT_TIMEOUT
  236. Time limit in seconds before the HTTP client cancel the request\&.
  237. .br
  238. Default is 20 seconds\&.
  239. .TP
  240. .B HTTP_CLIENT_MAX_BODY_SIZE
  241. Maximum body size for HTTP requests in Mebibyte (MiB)\&.
  242. .br
  243. Default is 15 MiB\&.
  244. .TP
  245. .B AUTH_PROXY_HEADER
  246. Proxy authentication HTTP header\&.
  247. .TP
  248. .B AUTH_PROXY_USER_CREATION
  249. Set to 1 to create users based on proxy authentication information\&.
  250. .SH AUTHORS
  251. .P
  252. Miniflux is written and maintained by Fr\['e]d\['e]ric Guillot\&.
  253. .SH "COPYRIGHT"
  254. .P
  255. Miniflux is released under the Apache 2.0 license\&.