docs(readme): use short volume syntax in compose example #2

Merged
MHE merged 2 commits from review-compose-volume-mounts into main 2026-11-01 14:34:22 +01:00
Owner

What changed

The compose example in README.md now uses the short source:target:mode volume syntax instead of the long type/source/target/read_only form.

  • The postgresql-data volume, backup.cron bind, and backup and restore binds are each a single line.
  • Read-only mounts are written as :ro and read-write mounts as :rw.
  • The physical restore instructions now refer to dropping and restoring :ro on the data volume line, matching the new syntax.

Why

The short syntax is shorter and easier to scan, and the restore steps can refer to a single :ro suffix on the data volume line. The mount behavior is unchanged.

## What changed The compose example in `README.md` now uses the short `source:target:mode` volume syntax instead of the long `type/source/target/read_only` form. - The `postgresql-data` volume, `backup.cron` bind, and `backup` and `restore` binds are each a single line. - Read-only mounts are written as `:ro` and read-write mounts as `:rw`. - The physical restore instructions now refer to dropping and restoring `:ro` on the data volume line, matching the new syntax. ## Why The short syntax is shorter and easier to scan, and the restore steps can refer to a single `:ro` suffix on the data volume line. The mount behavior is unchanged.
Make backup and restore volume mounts explicitly read-write
All checks were successful
ci / compose (pull_request) Successful in 12s
ci / shellcheck (pull_request) Successful in 2s
ci / conventions (pull_request) Successful in 2s
ci / image (pull_request) Successful in 37s
0b812f8475
MHE merged commit 36903b8a78 into main 2026-11-01 14:34:22 +01:00
MHE deleted branch review-compose-volume-mounts 2026-11-01 14:34:33 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
openso/postgres-maintenance!2
No description provided.