Skip to content

Commit 9aff9c4

Browse files
committed
chore(deps): upgrade to postgres 18 and latest mattermost patch release
This revision bumps postgres from version 14 to the latest supported release, version 18. In version 18, the format of the persistent storage volume changed to improve ease of database upgrades. To accomodate this, the volume mounts for the postgres service in docker compose was adjusted. Refer to the upstream documentation for more details. Additionally, mattermost was upgraded to the latest patch release 10.11.7 which includes some low- to medium-severity security fixes.
1 parent 74f80e5 commit 9aff9c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
- /tmp
1212
- /var/run/postgresql
1313
volumes:
14-
- ${POSTGRES_DATA_PATH}:/var/lib/postgresql/data
14+
- ${POSTGRES_DATA_PATH}:/var/lib/postgresql
1515
environment:
1616
# timezone inside container
1717
- TZ

env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RESTART_POLICY=unless-stopped
1414
## Please keep in mind this will create a superuser and it's recommended to use a less privileged
1515
## user to connect to the database.
1616
## A guide on how to change the database user to a nonsuperuser can be found in docs/creation-of-nonsuperuser.md
17-
POSTGRES_IMAGE_TAG=14-alpine
17+
POSTGRES_IMAGE_TAG=18-alpine
1818
POSTGRES_DATA_PATH=./volumes/db/var/lib/postgresql/data
1919

2020
POSTGRES_USER=mmuser
@@ -63,7 +63,7 @@ MM_BLEVESETTINGS_INDEXDIR=/mattermost/bleve-indexes
6363
## This will be 'mattermost-enterprise-edition' or 'mattermost-team-edition' based on the version of Mattermost you're installing.
6464
MATTERMOST_IMAGE=mattermost-enterprise-edition
6565
## Update the image tag if you want to upgrade your Mattermost version. You may also upgrade to the latest one. The example is based on the latest Mattermost ESR version.
66-
MATTERMOST_IMAGE_TAG=10.11.5
66+
MATTERMOST_IMAGE_TAG=10.11.7
6767

6868
## Make Mattermost container readonly. This interferes with the regeneration of root.html inside the container. Only use
6969
## it if you know what you're doing.

0 commit comments

Comments
 (0)