Use postgres 18-alpine
This commit is contained in:
+4
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user