Commit Graph

27 Commits

Author SHA1 Message Date
Alexandre Alapetite
60b7f5e6d9 Docker Ubuntu notes (#2259)
https://github.com/FreshRSS/FreshRSS/pull/2205
(And removed proxy_fcgi forgotten from php-fpm)
2019-03-02 22:53:04 +01:00
Alexandre Alapetite
fc8fb0a7ee Docker image alternative using Ubuntu (#2205)
* Docker image alternative using Ubuntu

Ubuntu seems to be faster, cf. e.g. PHPBench.
It is quite usual for Docker images to offer both a Debian/Ubuntu and an
Alpine version, so we could also do the same if there is any need.
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/2202

* Only explicit use of Apache confs

Fix double-logging issue

* Explicit ServerTokens OS

Default Apache configuration in Ubuntu, which was removed when disabling all confs.
It is also the default Apache configuration in Alpine.

* Take advantage of syslog for actualization

Same than for Alpine
43ab629e27

* COPY_SYSLOG_TO_STDERR

Same as https://github.com/FreshRSS/FreshRSS/pull/2213

* Update to libapache2-mod-php instead of php-fpm

* Default to Ubuntu

Ubuntu mod-php wins, being ~14% faster than Ubuntu php-fpm (which was ~300% faster than Alpine mod-php)
2019-03-02 21:49:20 +01:00
Alexandre Alapetite
5bd3d92b9f Alpine 3.9
PHP 7.2.14, Apache 2.4.38
https://alpinelinux.org/posts/Alpine-3.9.0-released.html
2019-02-03 12:30:34 +01:00
Alexandre Alapetite
4355849ec3 Docker Alpine PHP timezone (#2218)
https://github.com/FreshRSS/FreshRSS/issues/2153
2019-01-16 22:19:40 +01:00
Alexandre Alapetite
b73d4c807f COPY_SYSLOG_TO_STDERR (#2213)
Update of https://github.com/FreshRSS/FreshRSS/pull/2208
Fixes https://github.com/FreshRSS/FreshRSS/issues/2212
2019-01-08 00:06:01 +01:00
Alexandre Alapetite
15d74d9347 Changelog + Revert mistakes from 2202 and 2204 (#2210)
* GMP is needed because Alpine on e.g. ARM runs 32-bit
https://github.com/FreshRSS/FreshRSS/pull/2202
* Remove documentation for Træfik HTTP authentication as it is not
compatible with API
https://github.com/FreshRSS/FreshRSS/pull/2204

https://github.com/FreshRSS/FreshRSS/pull/2208
https://github.com/FreshRSS/FreshRSS/pull/2207
2019-01-06 12:07:51 +01:00
Alexandre Alapetite
6c423881d0 Forgotten cron fix
https://github.com/FreshRSS/FreshRSS/pull/2208
2019-01-06 01:07:58 +01:00
Alexandre Alapetite
802c264574 Copy syslog to STDERR (#2208)
* Use openlog before syslog
In order to have a copy on stderr when syslog is not available.

* Take advantage of syslog for actualization
Pipe cron job STDERR and syslog to Docker log
Cf. 00bd467655
2019-01-06 00:46:48 +01:00
Alexandre Alapetite
945cf832ad HTTP authenfication fixes (#2204)
* Security fixes when HTTP user does not exist in FreshRSS
* Accept HTTP header X-WebAuth-User for delegated HTTP Authentication (e.g. Træfik)
* Document delegated HTTP authentication from https://github.com/FreshRSS/FreshRSS/pull/2202
2019-01-02 21:43:05 +01:00
Alexandre Alapetite
a6623b7b2f Apache performance (#2202)
* Apache performance
API: Use SetEnvIf if available and fallback to RewriteRule
Docker: Disable unused modules.
Docker: Hard-include .htaccess to avoid having to scan for changes in
that file.
Docker: Disable security check of symlinks, which we do not use ayway.

* Apache readme

* Docker/Apache tuning
Run cron job with correct www-data user instead of root
Remove PHP GMP module uneeded for 64-bit Docker image
Add option to mount custom .htaccess for HTTP authentication
Re-add Apache module for HTTP authentication
Move Alpine-specific instructions to Docker file (instead of Apache
conf) to make it easier to have other base images than Alpine
2019-01-02 21:36:33 +01:00
Alexandre Alapetite
2c3b6adb6d hub.docker.com
https://blog.docker.com/2018/12/the-new-docker-hub/
2018-12-18 21:03:03 +01:00
Alexandre Alapetite
aaed69252b Support of proxies with subfolder / path rules (#2191)
Support HTTP_X_FORWARDED_PREFIX HTTP_X_FORWARDED_HOST
Improve Docker/Træfik for rules based on path/sub-folder
2018-12-18 20:41:06 +01:00
Alexandre Alapetite
c78be1371e Update Docker readme (#2189)
* Update Docker readme

Promote the use of an automated reverse proxy such as Træfik. Propose
other good practices.

* Typo
2018-12-18 09:05:39 +01:00
Thomas
49bbf02721 Update Docker README.md for Nginx reverse proxy configuration (#2151)
* Update README.md

* Small adjustements

* Whitespace

* Tabs
2018-11-27 20:33:03 +01:00
Jan
3ae1b57c9d Escape cron step values with backslash (#2032)
* Escape cron step values with backslash

Escape cron step values with backslash in $CRON_MIN

* Change sed delimiter to allow unescaped slashes
2018-09-28 11:53:00 +02:00
Alexandre Alapetite
f5215e5966 Changelog 2005
+ fix Docker readme version
https://github.com/FreshRSS/FreshRSS/pull/2005
2018-09-08 11:46:46 +02:00
Alexandre Alapetite
e0bc6a2855 Docker from Alpine 3.8 (#1956)
PHP 7.2 http://php.net/manual/migration72.incompatible.php
TODO: create_function() is deprecated (used by lib_phpQuery.php)
2018-07-07 13:45:38 +02:00
Upils
66ff16294a Correct docker-compose.yml file and add a corresponding note in the doc. (#1906)
* Add a docker compose example.

Using postgresql and with traefik specific labels.

* Added docker-compose specific documentation.

* Move docker-compose section at the end of the README.md.

* Correct docker-compose.yml file and add a corresponding note in the doc.

* Typo in doc.
2018-05-29 22:28:30 +02:00
Alexandre Alapetite
fd7b0c1e78 Changelog 1882
https://github.com/FreshRSS/FreshRSS/pull/1882
2018-05-20 12:04:12 +02:00
Upils
0ccda74571 Add a docker compose example. (#1882)
* Add a docker compose example.

Using postgresql and with traefik specific labels.

* Added docker-compose specific documentation.

* Move docker-compose section at the end of the README.md.
2018-05-09 09:57:46 +02:00
Alexandre Alapetite
404ca869e9 Tab to spaces in multiline shell
Copy pasting the commands was not working due to tabs, in e.g. Ubuntu
terminal.
2018-04-26 17:13:03 +02:00
Alexandre Alapetite
90998c2437 Apache overrides were not enough (#1873)
It looks like overrides of CustomLog, ErrorLog, Listen did not do the
job fully.
Updated to comment out those lines in httpd.conf.
Fixes the fact that logs were kept in /var/log/apache2/ (instead of
being only given via STDOUT to Docker logs) and the "internal dummy
connection" bug over IPv6 (Docker is typically only IPv4).
2018-04-26 13:52:44 +02:00
Alexandre Alapetite
4381117a19 cron in Docker image (#1871)
* cron in Docker image

https://github.com/FreshRSS/FreshRSS/issues/1869

* Fix cron CMD

* Minor readme

* Docker run d instead of dit

There should not be a need for STDIN or TTY

* Minor sed param
2018-04-26 12:00:14 +02:00
Alexandre Alapetite
5647442053 Docker missing PHP extensions
php7-iconv php7-xmlreader php7-zlib
https://github.com/FreshRSS/FreshRSS/issues/1821
2018-03-05 20:33:13 +01:00
Alexandre Alapetite
80b85ffb8e Docker add simplexml
Needed for OPML import
2018-03-04 17:07:32 +01:00
Alexandre Alapetite
29dc711b7b Docker follow-up (#1817)
* Docker follow-up

https://github.com/FreshRSS/FreshRSS/pull/1813

* Readme links

cloud.docker.com does not seem to have a public version of the pages
re-add https://hub.docker.com/r/freshrss/freshrss/

* Link to original GitHub readme

* Docker readme MySQL PostgreSQL

https://github.com/FreshRSS/FreshRSS/pull/1817#issuecomment-370195319

* docker exec username
2018-03-04 12:27:14 +01:00
Alexandre Alapetite
71918dbc5a New Docker (#1813)
* Draft of new Docker

Based on Alpine Linux. Size ~78MB.
https://github.com/FreshRSS/docker-freshrss/issues/4
https://github.com/FreshRSS/FreshRSS/issues/520
https://github.com/FreshRSS/docker-freshrss
https://github.com/FreshRSS/docker-freshrss-production

* Docker readme

* +x execution rights prepare

* Docker readme links to hub.docker.com

https://hub.docker.com/r/freshrss/freshrss/
2018-03-04 01:02:02 +01:00