diff --git a/docker-compose.yml b/docker-compose.yml
index 6233f7bb..18c7682c 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -5,7 +5,7 @@ services:
   postgres:
     image: postgres
     healthcheck:
-      test: psql postgres --command "select 1"
+      test: psql postgres --command "select 1" -U postgres
     ports:
       - "5432:5432"
     environment:
@@ -33,4 +33,4 @@ services:
     - ./ssl/nginx.conf:/etc/nginx/conf.d/default.conf:ro
     - ./ssl:/etc/nginx/ssl
     ports:
-    - "8443:443"
\ No newline at end of file
+    - "8443:443"