Skip to content

Commit 6070159

Browse files
authored
Fix health
1 parent 6426e82 commit 6070159

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ services:
4848
volumes:
4949
- postgres_data:/var/lib/postgresql/data
5050
healthcheck:
51-
test: ["CMD-SHELL", "pg_isready -U postgres -d photos"]
51+
test: ["CMD-SHELL", "pg_isready -U postgres -d photos -h 127.0.0.1"]
5252
interval: 10s
5353
timeout: 5s
5454
retries: 5

0 commit comments

Comments
 (0)