add database upgrade instructions

This commit is contained in:
2025-07-05 23:06:47 +00:00
parent 09e59c94f0
commit 4e1cf81242
2 changed files with 20 additions and 1 deletions

View File

@ -32,7 +32,12 @@ services:
- cannery-db
cannery-db:
image: postgres:13
image: postgres:17
# To upgrade your database from a previous version, replace the existing
# image with the following line. Once the container has been booted and your
# database updated, you can revert back to the original `postgres:17` image
# if you'd like
# image: pgautoupgrade/pgautoupgrade:17-alpine
container_name: cannery-db
environment:
- POSTGRES_USER="postgres"