We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6d0ef9 commit 840bfd2Copy full SHA for 840bfd2
docker-compose.yml
@@ -1,15 +1,19 @@
1
-version: '3.1'
2
services:
3
db:
4
- image: postgres:15-bookworm
+ image: public.ecr.aws/docker/library/postgres:17-trixie
5
restart: always
6
environment:
7
POSTGRES_USER: takeoutapp
8
POSTGRES_PASSWORD: takeoutapp
9
POSTGRES_DB: takeout_app_development
10
volumes:
11
- - 'postgres15:/var/lib/postgresql/data'
+ - 'postgres17:/var/lib/postgresql/data'
12
ports:
13
- '127.0.0.1::5432'
+ healthcheck:
14
+ test: ["CMD-SHELL", "pg_isready"]
15
+ interval: 10s
16
+ timeout: 5s
17
+ retries: 5
18
- postgres15: {}
19
+ postgres17: {}
0 commit comments