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
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:
@ -1,3 +1,5 @@
|
|||||||
|
name: apartment-api
|
||||||
|
|
||||||
services:
|
services:
|
||||||
apartment-api:
|
apartment-api:
|
||||||
image: ${IMAGE:-apartment-api:latest}
|
image: ${IMAGE:-apartment-api:latest}
|
||||||
|
|||||||
Reference in New Issue
Block a user