From 1087de3a46f56c318c07273beb8c100be2efc62b Mon Sep 17 00:00:00 2001 From: naudachu Date: Mon, 20 Nov 2023 17:08:48 +0500 Subject: [PATCH] - compose file fixed; --- compose.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/compose.yaml b/compose.yaml index abeda0f..4669b2c 100644 --- a/compose.yaml +++ b/compose.yaml @@ -15,11 +15,13 @@ services: POSTGRES_USER: "postgres" POSTGRES_PASSWORD: "postgres" volumes: - - db:./postgres-data:/var/lib/postgresql/data + - db-data:/var/lib/postgresql/data ports: - "5432:5432" healthcheck: test: [ "CMD", "pg_isready", "-q", "-d", "tickets", "-U", "postgres" ] interval: 10s timeout: 5s - retries: 5 \ No newline at end of file + retries: 5 +volume: + db-data: \ No newline at end of file