Skip to content

Commit 022d85a

Browse files
committed
build(database): upgrade Postgres to version 13
NS-13.
1 parent 26da281 commit 022d85a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ If you encounter deprecation warnings on newer versions, you may need to downgra
5252

5353
### PostgreSQL
5454

55-
Postgresql 12 is the minimum version required. You can check your version by running `psql --version`.
55+
Postgresql 13 is the minimum version required. You can check your version by running `psql --version`.
5656

5757
If you are running the project without Docker, you may need to install and configure PostgreSQL manually. The default configuration file is `docker-compose.env.yaml`, which you may need to adjust for your local setup.
5858

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
postgres:
3-
image: postgres:12
3+
image: postgres:13
44
restart: on-failure
55
environment:
66
POSTGRES_USER: notification_service
@@ -11,7 +11,7 @@ services:
1111
# networks:
1212
# - helsinki
1313
volumes:
14-
- pgdata:/var/lib/postgresql/data
14+
- pgdata:/var/lib/postgresql@13/data
1515
container_name: notification_service-db
1616

1717
keycloak:

docs/development-without-docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Please refer to the [main README](/README.md) for the latest instructions.
66

77
Prerequisites:
88

9-
- PostgreSQL 12
9+
- PostgreSQL 13
1010
- Python 3.11
1111
- Keycloak
1212

0 commit comments

Comments
 (0)