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: