Use postgres 18-alpine
This commit is contained in:
+4
-1
@@ -1,10 +1,13 @@
|
|||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:17-alpine
|
image: postgres:18-alpine
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: levyraati
|
POSTGRES_USER: levyraati
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?set POSTGRES_PASSWORD in .env}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?set POSTGRES_PASSWORD in .env}
|
||||||
POSTGRES_DB: levyraati
|
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:
|
volumes:
|
||||||
- ./pgdata:/var/lib/postgresql/data
|
- ./pgdata:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|||||||
Reference in New Issue
Block a user