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.
This commit is contained in:
parent
1d9ee9cff0
commit
673fb84c23
1 changed files with 4 additions and 35 deletions
|
|
@ -6,46 +6,15 @@
|
||||||
# Caddy injects the Directus session cookie as X-CF-Session header before forwarding.
|
# 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.
|
# 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:
|
# Usage:
|
||||||
# docker compose -f compose.cloud.yml --project-name peregrine-cloud up -d
|
# 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 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:
|
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:
|
api:
|
||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue