Skip to main content

Compose Topology

The Studio Compose file is the deployment-topology source of truth. It declares 42 service entries, plus named volumes and a Docker secret used for private build dependencies. The complete service list is in the Ecosystem Service Catalog.

Startup and health​

The stack includes both long-running services and one-shot startup helpers:

  • redis-acl-init prepares and validates the Redis ACL file before Redis is allowed to start. See operator guidance for fresh versus existing-volume behavior.
  • deploy-verify validates image/source freshness against the Compose configuration and is not an application request path.
  • Services use depends_on health conditions for critical stores and control services. A started container is not equivalent to a healthy or usable service.

Inspect the resolved topology before changing it:

docker compose config --services
docker compose ps
docker compose logs --tail=200 <service>

Persistence​

The Compose file declares persistent volumes for:

  • MySQL data (mysql_data)
  • Redis data and ACL state (redis_data)
  • Ollama models (ollama_data)
  • Grafana state (grafana_data)
  • Neo4j data and logs (neo4j_data, neo4j_logs)

These volumes are data boundaries. Do not remove them as a troubleshooting shortcut. Follow operator guidance for current backup and restore evidence.

Host-published ports​

The operator guidance is authoritative for host/container mappings, bind addresses, file combinations and proxy paths. It includes billing and videos. Prometheus has no host-published port in the base file; the router declares /_svc/prometheus access. Nginx, Control Center, LIMS, RStudio, VS Code and graph HTTP/Bolt mappings include explicit loopback bindings where shown. Host-networked services require separate host inspection.

Mappings using ${HOST_IP:-0.0.0.0} have an operator-configurable all-interface fallback; explicit 127.0.0.1 mappings bind loopback. A direct service port bypasses Nginx's location gates, so verify application authentication independently. None of these declarations proves Internet exposure or authorization.

Network and exposure model​

The stack has two different exposure contexts:

  1. Internal service-to-service traffic on the Compose network.
  2. Host-published development or operational ports, which are not proof of Internet reachability.

Browser traffic is intended to enter through nginx-router; some routes are then sent to the API gateway or directly to an owning service according to the configured route boundary. Consult operator guidance before exposing a development port.

The docker-socket-proxy limits selected Docker API operations for supported consumers. A service that can reach the proxy is not automatically authorized for every Docker operation, and direct socket mounts must be treated as privileged deployment boundaries.

Configuration and secrets​

Compose reads deployment secrets and service configuration from the operator’s environment. Do not copy real values into documentation, commits, frontend build inputs, or support tickets. The Studio deployment runbook documents the background deployment procedure. Its clone/port/Redis commands contain historical assumptions; the current contracts are operator guidance, operator guidance and Client/Host Requirements: DEPLOYMENT.md.

What this page does not claim​

This page documents declared topology only. It does not claim that all 42 services are enabled in every deployment, that every route is externally reachable, or that the complete stack has passed production validation.