container: upgrade postgres to v16 in example compose file

This commit is contained in:
naskya 2024-02-22 17:04:30 +09:00
parent 808f65ead4
commit 89fb2caa75
No known key found for this signature in database
GPG Key ID: 712D413B3A9FED5C
2 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,7 @@ services:
db:
restart: unless-stopped
image: docker.io/postgres:12.2-alpine
image: docker.io/postgres:16-alpine
container_name: firefish_db
networks:
- calcnet

View File

@ -23,6 +23,8 @@
mv /tmp/my/docker-compose.yml docker-compose.yml
```
- If any modifications are needed to `docker-compose.yml` in the future, we will provide a notice.
- Also, PostgreSQL v12.2 (`docker.io/postgres:12.2-alpine`) has been used in this compose file, but we highly recommend that you upgrade it to a newer version (e.g., `docker.io/postgres:16-alpine`).
- Note: some manual (painful) operations are needed to upgrade the PostgreSQL major version, so please be careful when performing upgrades: <https://github.com/docker-library/postgres/issues/37>
# v20240214