# Shared infrastructure for the multi-sandbox agent environment. # This runs ONE instance of each shared service. Per-sandbox services # (zero-cache, backend, dashboard) are in per-sandbox compose files. # # Usage: docker compose -f docker-compose.sandbox.yml up -d services: ysweet: image: ghcr.io/xynehq/y-sweet:sha-dceb9d1 container_name: ${COMPOSE_PROJECT_NAME:-xyne}-ysweet ports: - "${YSWEET_BIND_PORT:-8080}:8080" entrypoint: ["y-sweet"] command: - "serve" - "--host" - "0.0.0.0" - "--port" - "8080" - "--checkpoint-freq-seconds" - "10" - "/data" environment: - Y_SWEET_OTEL_ENDPOINT=${Y_SWEET_OTEL_ENDPOINT:-http://otel-collector:4318/v1/metrics} - Y_SWEET_OTEL_SERVICE_NAME=${Y_SWEET_OTEL_SERVICE_NAME:-y-sweet} - Y_SWEET_OTEL_PUSH_INTERVAL=${Y_SWEET_OTEL_PUSH_INTERVAL:-30} volumes: - ysweet_data:/data restart: unless-stopped healthcheck: test: ["CMD", "bash", "-c", "timeout 5 bash -c '