Commit Graph

9 Commits

Author SHA1 Message Date
Alexandre Alapetite 2cb4f2e233
Fix dev container Apache logs (#5660)
Apache logs were not available from the dev container.
Quick fix while waiting for a better integrated solution (e.g. coming in output window) - contributions welcome.
2023-09-18 08:41:25 +02:00
Alexandre Alapetite e7689459f2
Rework trusted proxies (#5549)
* Rework trusted proxies
Fix https://github.com/FreshRSS/FreshRSS/issues/5502
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/3226

New environment variable `TRUSTED_PROXY`: set to 0 to disable, or to a list of trusted IP ranges compatible with https://httpd.apache.org/docs/current/mod/mod_remoteip.html#remoteiptrustedproxy

New internal environment variable `CONN_REMOTE_ADDR` to remember the true IP address of the connection (e.g. last proxy), even when using mod_remoteip.

Current working setups should not observe any significant change.

* Minor whitespace

* Safer trusted sources during install
Rework of https://github.com/FreshRSS/FreshRSS/pull/5358
https://github.com/FreshRSS/FreshRSS/issues/5357

* Minor readme
2023-07-30 12:59:18 +02:00
Alexandre Alapetite 0292b2f1f3
Improve Dev Container (#5423)
* Improve Dev Container
PHPStan was failing in Dev Container

* Update Docker to Alpine Linux 3.18
* New DATA_PATH environment variable

* README
2023-05-28 18:03:34 +02:00
Alexandre Alapetite c170c390b7
Dev Container extensions syntax update (#5145)
The JSON syntax has changed for specifying extensions
https://aka.ms/devcontainer.json
2023-02-27 10:08:16 +01:00
Alexandre Alapetite 543fa4e76c
Docker uniform timezone behaviour (#4905)
* Docker Alpine timezone for :newest and :oldest
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/4903
Forgot the development images Newest and Oldest

* Uniform timezone behaviour

* shellcheck

* A bit more documentation
2022-11-30 20:45:40 +01:00
Alexandre Alapetite 60d626030d
Docker Alpine time zone (#4903)
Allow setting the timezone with a `TZ` environment variable in our Alpine-based Docker images just like for our Debian-based Doker images.
See https://github.com/FreshRSS/FreshRSS/discussions/4898#discussioncomment-4245991
2022-11-28 18:02:33 +01:00
Alexandre Alapetite be79c5a8e7
Docker Alpine 3.17 (#4886)
* Docker Alpine 3.17
Update alternative Docker image to Alpine 3.17 with PHP 8.1.12 (and still Apache 2.4.54)
https://alpinelinux.org/posts/Alpine-3.17.0-released.html

* Fix developer access rights
Put developer in www-data group
2022-11-23 22:40:41 +01:00
Alexandre Alapetite 3bcceb1338
Fix Development Containers / GitHub Codespaces (#4860) 2022-11-16 16:26:06 +01:00
Alexandre Alapetite c5b741d98f
Experiment Development Containers / GitHub Codespaces (#4859)
* Experiment Development Containers / GitHub Codespaces
https://containers.dev/
https://github.com/features/codespaces

* Fix tests
2022-11-16 13:23:51 +01:00