From 3809fb652a105a0b01b4eb85fb987462e7830301 Mon Sep 17 00:00:00 2001 From: Daniel Hails Date: Fri, 10 Jul 2026 17:39:46 +0000 Subject: [PATCH] fix(api): pin compose project name to stop cross-repo orphan removal Compose defaults the project name to the directory (api), colliding with other repos deploying an api/ dir on the shared host; their up --remove-orphans removed blindsighted-api on 2026-07-10. Pin name: blindsighted-api (and drop the obsolete version key). --- api/docker-compose.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/api/docker-compose.yml b/api/docker-compose.yml index 9d978a5..83f8993 100644 --- a/api/docker-compose.yml +++ b/api/docker-compose.yml @@ -1,4 +1,8 @@ -version: '3.8' +# `name:` is REQUIRED: without it the compose project is named after the +# directory (`api`), which collides with other repos deploying from an `api/` +# dir on the shared host — their `up --remove-orphans` then removes this +# container (this removed blindsighted-api on 2026-07-10). +name: blindsighted-api services: api: