From aec0d6278790c366e1241da033b409cbdde14833 Mon Sep 17 00:00:00 2001 From: Max Mayfield Date: Sun, 1 Mar 2026 19:15:49 +0000 Subject: [PATCH] docker-compose: put Rust services behind 'rust' profile so Node services start independently MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit docker compose up -d → starts Node services only (fast) docker compose --profile rust up -d → starts everything including Rust (slow build) --- products/docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/products/docker-compose.yml b/products/docker-compose.yml index 56e07f1..733d532 100644 --- a/products/docker-compose.yml +++ b/products/docker-compose.yml @@ -49,7 +49,11 @@ services: # --- dd0c Products --- # P1: LLM Cost Router (Rust — API server) + # NOTE: Rust services are behind the "rust" profile because they take 10+ min to compile. + # Start without Rust: docker compose up -d + # Start with Rust: docker compose --profile rust up -d route-api: + profiles: ["rust"] build: context: ./01-llm-cost-router dockerfile: Dockerfile @@ -68,6 +72,7 @@ services: # P1: LLM Cost Router (Rust — proxy) route-proxy: + profiles: ["rust"] build: context: ./01-llm-cost-router dockerfile: Dockerfile @@ -84,6 +89,7 @@ services: # P1: LLM Cost Router (Rust — worker) route-worker: + profiles: ["rust"] build: context: ./01-llm-cost-router dockerfile: Dockerfile