container: upgrade postgres to v16 in example compose file
This commit is contained in:
parent
808f65ead4
commit
89fb2caa75
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue