Add explicit compose project name for consistent container management
Some checks failed
CI/CD Pipeline - Apartment API / Scan Dependencies (push) Failing after 12s
CI/CD Pipeline - Apartment API / Lint & Test (push) Successful in 49s
CI/CD Pipeline - Apartment API / Send Webhook Notification (push) Has been skipped
CI/CD Pipeline - Apartment API / Build & Push Image (push) Has been skipped
CI/CD Pipeline - Apartment API / Deploy to Production (push) Has been skipped

Fixes issue where docker compose commands fail when run from a different
directory than the CI/CD deploy path due to mismatched project names.
This commit is contained in:
2026-02-10 08:24:36 -07:00
parent 911f76520f
commit 877ddddb9a

View File

@ -1,3 +1,5 @@
name: apartment-api
services: services:
apartment-api: apartment-api:
image: ${IMAGE:-apartment-api:latest} image: ${IMAGE:-apartment-api:latest}