From c40813001acbdddcb7b27c5573c66a788a544528 Mon Sep 17 00:00:00 2001 From: Soham Sen Date: Mon, 11 Sep 2023 10:54:57 +0530 Subject: [PATCH] Fix docker compose file --- docker-compose.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7771186..16ac101 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,9 +11,10 @@ services: db: image: postgres:15-alpine environment: - - POSTGRES_USER=user - - POSTGRES_PASSWORD=pass - - POSTGRES_DB=yabin + POSTGRES_USER: user + POSTGRES_PASSWORD: pass + POSTGRES_DB: yabin + POSTGRES_HOST_AUTH_METHOD: "trust" volumes: - db_data:/var/lib/postgresql/data:Z restart: always