From 673fb84c23683d883889a57a65bfddbcf6d38af4 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Fri, 24 Apr 2026 20:11:14 -0700 Subject: [PATCH] chore: remove deprecated Streamlit app service from cloud compose (closes #104) Vue+FastAPI (api+web services) is the only frontend. The peregrine-cloud Streamlit container was still running alongside the new stack and is now removed. Port 8505 freed. --- compose.cloud.yml | 39 ++++----------------------------------- 1 file changed, 4 insertions(+), 35 deletions(-) diff --git a/compose.cloud.yml b/compose.cloud.yml index f5dcafc..4d49ca8 100644 --- a/compose.cloud.yml +++ b/compose.cloud.yml @@ -6,46 +6,15 @@ # Caddy injects the Directus session cookie as X-CF-Session header before forwarding. # cloud_session.py resolves user_id → per-user db_path at session init. # +# Services: api (FastAPI :8601), web (Vue :8508), searxng (internal) +# Streamlit app service removed — Vue+FastAPI is the only frontend (peregrine#104). +# # Usage: # docker compose -f compose.cloud.yml --project-name peregrine-cloud up -d # docker compose -f compose.cloud.yml --project-name peregrine-cloud down -# docker compose -f compose.cloud.yml --project-name peregrine-cloud logs app -f +# docker compose -f compose.cloud.yml --project-name peregrine-cloud logs api -f services: - app: - build: - context: .. - dockerfile: peregrine/Dockerfile.cfcore - container_name: peregrine-cloud - ports: - - "8505:8501" - volumes: - - /devl/menagerie-data:/devl/menagerie-data # per-user data trees - - ./config/llm.cloud.yaml:/app/config/llm.yaml:ro # cloud-safe backends only (no claude_code/copilot/anthropic) - environment: - - CLOUD_MODE=true - - CLOUD_DATA_ROOT=/devl/menagerie-data - - DIRECTUS_JWT_SECRET=${DIRECTUS_JWT_SECRET} - - CF_SERVER_SECRET=${CF_SERVER_SECRET} - - PLATFORM_DB_URL=${PLATFORM_DB_URL} - - HEIMDALL_URL=${HEIMDALL_URL:-http://cf-license:8000} - - HEIMDALL_ADMIN_TOKEN=${HEIMDALL_ADMIN_TOKEN} - - STAGING_DB=/devl/menagerie-data/cloud-default.db # fallback only — never used - - DOCS_DIR=/tmp/cloud-docs - - STREAMLIT_SERVER_BASE_URL_PATH=peregrine - - PYTHONUNBUFFERED=1 - - PEREGRINE_CADDY_PROXY=1 - - CF_ORCH_URL=http://host.docker.internal:7700 - - CF_APP_NAME=peregrine - - DEMO_MODE=false - - FORGEJO_API_TOKEN=${FORGEJO_API_TOKEN:-} - depends_on: - searxng: - condition: service_healthy - extra_hosts: - - "host.docker.internal:host-gateway" - restart: unless-stopped - api: build: context: ..