Update docker-compose.yml
This commit is contained in:
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16-alpine
|
image: postgres:18-alpine
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: imap
|
POSTGRES_USER: imap
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
POSTGRES_DB: imapcopier
|
POSTGRES_DB: imapcopier
|
||||||
volumes:
|
volumes:
|
||||||
- pgdata:/var/lib/postgresql/data
|
- pgdata:/var/lib/postgresql
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U imap"]
|
test: ["CMD-SHELL", "pg_isready -U imap"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
|
|||||||
Reference in New Issue
Block a user