From f2d3e7551e892331817f6f16d69a6d28c8f14a6d Mon Sep 17 00:00:00 2001 From: Cesar Flores Date: Sat, 7 Mar 2026 09:37:24 +0700 Subject: [PATCH] fix: Update Justfile and compose.yml for improved database build and configuration --- Justfile | 2 +- postgres/compose.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Justfile b/Justfile index a74b61d..7896e17 100644 --- a/Justfile +++ b/Justfile @@ -37,7 +37,7 @@ publish db=VARIANT: # Start the database and wait until it's healthy db-up db=VARIANT: - docker build {{db}} + just build {{db}} docker compose -f {{db}}/compose.yml up -d --wait # Stop the database container but preserve data volumes diff --git a/postgres/compose.yml b/postgres/compose.yml index bb7f5de..40fe677 100644 --- a/postgres/compose.yml +++ b/postgres/compose.yml @@ -7,8 +7,7 @@ services: POSTGRES_USER: ${POSTGRES_USER:-postgres} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres} POSTGRES_DB: ${POSTGRES_DB:-postgres} - ports: - - "${POSTGRES_PORT:-5432}:5432" + POSTGRES_PORT: ${POSTGRES_PORT:-5432} volumes: - postgres_data:/var/lib/postgresql healthcheck: