Use postgres 18-alpine

This commit is contained in:
Esa Kataja
2026-07-31 19:44:14 +03:00
parent 80f82a82de
commit ab8c90d445
+4 -1
View File
@@ -1,10 +1,13 @@
services:
postgres:
image: postgres:17-alpine
image: postgres:18-alpine
environment:
POSTGRES_USER: levyraati
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?set POSTGRES_PASSWORD in .env}
POSTGRES_DB: levyraati
# The 18 image moved its default data directory; pin it so the ./pgdata mount below
# is still where the database lives.
PGDATA: /var/lib/postgresql/data
volumes:
- ./pgdata:/var/lib/postgresql/data
healthcheck: