Skip to content

Commit 098a8f5

Browse files
NikhilRaikwarAbhishek
authored andcommitted
PostgreSQL upgrade to v18. Closes intelowlproject#3272 (intelowlproject#3292)
* feat: upgrade PostgreSQL to v18 for major release v7.0.0 * Upgrade Postgres to 18-alpine and fix volume mount. Closes intelowlproject#3272 (intelowlproject#3275) * Upgrade Postgres to 17-alpine and fix volume mount (intelowlproject#3272) * Upgrade Postgres to 18-alpine as requested
1 parent 4e673f7 commit 098a8f5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docker/env_file_postgres_template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
POSTGRES_PASSWORD=password
22
POSTGRES_USER=user
3-
POSTGRES_DB=intel_owl_db
3+
POSTGRES_DB=intel_owl_db
4+
PGDATA=/var/lib/postgresql/pgdata

docker/postgres.override.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
services:
22

33
postgres:
4-
image: library/postgres:16-alpine
4+
image: library/postgres:18-alpine
55
container_name: intelowl_postgres
66
volumes:
7-
- postgres_data:/var/lib/postgresql/data/
7+
- postgres_data_v18:/var/lib/postgresql
88
env_file:
99
- ./env_file_postgres
1010
healthcheck:
@@ -25,3 +25,6 @@ services:
2525
depends_on:
2626
postgres:
2727
condition: service_healthy
28+
29+
volumes:
30+
postgres_data_v18:

0 commit comments

Comments
 (0)