From 69c5958d46042c9912852386e8f59ee196f9cc60 Mon Sep 17 00:00:00 2001 From: Gustavo Miranda Date: Sun, 11 Oct 2026 12:32:25 -0300 Subject: [PATCH] chore(backend): name the compose project like production Use the bitfinance project name the production server already runs under and pin the MCP server container name, so the repository compose files can be copied to the server without recreating the stack. --- apps/backend/README.md | 2 +- apps/backend/docker-compose.prod.yml | 1 + apps/backend/docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/backend/README.md b/apps/backend/README.md index c0bc4f7..88f0e93 100644 --- a/apps/backend/README.md +++ b/apps/backend/README.md @@ -70,7 +70,7 @@ dotnet tool install --global dotnet-ef ``` This starts the API, PostgreSQL, Redis, MinIO, and a MinIO bucket initialization container. - Compose creates and reuses the local `bitfinance-backend_postgres-data` volume automatically. + The Compose project is named `bitfinance`, the same as in production, so local volumes are prefixed `bitfinance_` (for example `bitfinance_postgres-data`). Compose creates and reuses them automatically. 3. Apply migrations manually if you are running the API outside Docker or need to update the database directly. diff --git a/apps/backend/docker-compose.prod.yml b/apps/backend/docker-compose.prod.yml index ecfae32..81d3afe 100644 --- a/apps/backend/docker-compose.prod.yml +++ b/apps/backend/docker-compose.prod.yml @@ -39,6 +39,7 @@ services: bitfinance-mcp-server: image: gustmrg/bitfinance-mcp-server:${MCP_IMAGE_TAG:-latest} + container_name: bitfinance-mcp-server restart: always ports: - "${MCP_BIND_ADDRESS}:${MCP_PORT:-8090}:8090" diff --git a/apps/backend/docker-compose.yml b/apps/backend/docker-compose.yml index c947d16..2862575 100644 --- a/apps/backend/docker-compose.yml +++ b/apps/backend/docker-compose.yml @@ -1,4 +1,4 @@ -name: bitfinance-backend +name: bitfinance services: bitfinance-api: