docs(postgres): name the Docker Compose version the Postgres compose file needs

The file creates TREK's role from an inline config, which Compose reads only from 2.23.1 on; the file header and the wiki now say so, with the error an older Compose prints.
This commit is contained in:
Maurice
2026-11-23 15:06:32 +01:00
parent 9ae99b42ec
commit ca367d9cfc
3 changed files with 7 additions and 1 deletions
+4
View File
@@ -1,6 +1,10 @@
# TREK on a Postgres database instead of the SQLite file. See the wiki page
# Database-Postgres for what this changes, the requirements and the backups.
#
# Needs Docker Compose 2.23.1 or newer, which reads the inline config
# (configs.trek-db-role below). An older Compose, as some NAS bundles ship,
# refuses the whole file with "Additional property content is not allowed".
#
# Set two passwords in a .env file beside this file (or in the shell) before
# the first start:
# POSTGRES_ADMIN_PASSWORD=<a long random value> the database's superuser, postgres