From fda1bfb42ec23e4b1275f95ea310328a94bd6358 Mon Sep 17 00:00:00 2001 From: ganthepro Date: Wed, 27 Nov 2024 12:45:11 +0700 Subject: [PATCH] fix: update volume path in docker-compose.yml to use environment variable --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 72ca334..03bbcbb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_DB: ${DB_DATABASE} volumes: - - ./postgres-data:/var/lib/postgresql/data + - ${VOLUMES_PATH}:/var/lib/postgresql/data healthcheck: test: ['CMD-SHELL', 'pg_isready -U ${DB_USERNAME}'] interval: 10s