Commit Graph

8 Commits

Author SHA1 Message Date
Alexandre Alapetite
9c8e9a8b87 Fix Docker for PostgreSQL (#8224)
Better fix instead of https://github.com/FreshRSS/FreshRSS/pull/8216
Based on error message:

Error: in 18+, these Docker images are configured to store database data in a
format which is compatible with "pg_ctlcluster" (specifically, using
major-version-specific directory names).  This better reflects how
PostgreSQL itself works, and how upgrades are to be performed.

See also https://github.com/docker-library/postgres/pull/1259

Counter to that, there appears to be PostgreSQL data in:
 /var/lib/postgresql/data (unused mount/volume)

This is usually the result of upgrading the Docker image without
upgrading the underlying database using "pg_upgrade" (which requires both
versions).

The suggested container configuration for 18+ is to place a single mount
at /var/lib/postgresql which will then place PostgreSQL data in a
subdirectory, allowing usage of "pg_upgrade --link" without mount point
boundary issues.

See https://github.com/docker-library/postgres/issues/37 for a (long)
discussion around this process, and suggestions for how to do so.
2025-11-17 00:27:24 +01:00
FollowTheWizard
39725cdde9 Change PostgreSQL data volume path in Docker Compose (#8216)
adjusted to v18 change in DATA path
db container will not start and freshrss will complain
fix https://github.com/FreshRSS/FreshRSS/issues/8215
2025-11-15 21:48:13 +01:00
Alexandre Alapetite
50eeede063 Docker Compose PostgreSQL 18 (#8111)
Update to version 18.
https://www.postgresql.org/about/news/postgresql-18-released-3142/
Tested to work: Debian, Alpine, PHP 8.2, PHP 8.4.
2025-10-16 21:16:38 +02:00
Alexandre Alapetite
68497030f9 Ligth update Docker Compose (#7249)
I just saw some users getting confused about the build section despite of the comment, so commented out by default
https://github.com/FreshRSS/FreshRSS/discussions/7246#discussioncomment-11908948
2025-01-25 09:13:44 +01:00
Alexandre Alapetite
ec9f9a43ed PostgreSQL 17 (#6835)
https://www.postgresql.org/about/news/postgresql-17-released-2936/
2024-09-28 16:29:23 +02:00
Alexandre Alapetite
86d713478b docker-compose PostgreSQL 16 (#5661)
https://www.postgresql.org/about/news/postgresql-16-released-2715/
Watch out, there are no auto-updates between major versions
2023-09-24 00:39:50 +02:00
Alexandre Alapetite
a495e995bc Docker example of PostgreSQL tuning (#5446)
Provide example of how to easily tune selected PostgreSQL settings
https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
2023-06-09 08:26:34 +02:00
Alexandre Alapetite
4e16dd1ae5 Update Docker readme (#4320)
* Update Docker readme
#fix https://github.com/FreshRSS/FreshRSS/issues/3351

* A few more headers
https://github.com/FreshRSS/FreshRSS/issues/3649
https://doc.traefik.io/traefik/middlewares/http/headers/

* Another docker logs example

* More uniform

* Minor details
2022-04-24 18:35:25 +02:00