mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-19 14:16:29 +00:00
* feat(runner): replace server-side bash sandbox with remote runner * fix(runner): address review findings for output bounds, key rotation, defaults, and generated uploads * chore(docker): remove sandbox privileges and env vars from remaining compose files * feat(cli): add runner start with bundled SRT sandboxing (#535) * refactor(agent): expose runner bash without skill gating * feat(cli): add runner start with optional SRT sandboxing * refactor(cli): remove runner Python dependency * feat(cli): bundle SRT and use platform-native runner shells * refactor(cli): delegate runner processes to Execa * chore(cli): upgrade @anthropic-ai/sandbox-runtime to 0.0.83 * feat(cli): discover Bash for Windows runners Use Pi-style Bash discovery and launch behavior, exercise the packaged CLI shell, and wait for pending ZIP metadata reads before closing cancelled downloads. * fix(runner): enforce ownership and safe reconnects Gate dispatch on reconciliation, retain cancellations across disconnects, and stop replaced clients. Guard the single-server runner topology with a database lease. Restage missing generated inputs, report signal exits, and bound generated-file cleanup. * feat(webui): add Korean translations for agent runners * feat(cli): add runner event logging and --verbose flag (#536) * feat(cli): add runner event logging and --verbose flag * fix(cli): log runner capacity rejections accurately and use monotonic duration
63 lines
1.8 KiB
YAML
63 lines
1.8 KiB
YAML
services:
|
|
postgres:
|
|
image: pgvector/pgvector:pg18
|
|
container_name: shumai_postgres
|
|
environment:
|
|
POSTGRES_USER: shumai
|
|
POSTGRES_PASSWORD: shumai_password
|
|
POSTGRES_DB: shumai_db
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/18/docker
|
|
healthcheck:
|
|
test: ['CMD-SHELL', 'pg_isready -U shumai -d shumai_db']
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
embedding-server:
|
|
image: shumaione/embedding-server:latest
|
|
container_name: shumai_embedding
|
|
restart: unless-stopped
|
|
|
|
shumai:
|
|
image: shumaione/shumai:latest
|
|
container_name: shumai_app
|
|
ports:
|
|
- '3000:3000'
|
|
volumes:
|
|
- ./data:/app/data
|
|
# Hardware Acceleration (NVENC / QuickSync / VA-API / RKMPP)
|
|
# Uncomment the extends section below for hardware acceleration:
|
|
# extends:
|
|
# file: hwaccel.transcoding.yaml
|
|
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
|
|
environment:
|
|
# Database Configuration
|
|
DATABASE_URL: postgres://shumai:shumai_password@shumai_postgres:5432/shumai_db?search_path=public&sslmode=disable
|
|
|
|
# Server Configuration
|
|
SHUMAI_SERVER_PORT: 3000
|
|
|
|
# S3 Configuration
|
|
STORAGE_BACKEND: local
|
|
AWS_ENDPOINT_URL_S3: http://localhost:3000
|
|
|
|
# Better Auth
|
|
BETTER_AUTH_SECRET: qSxs9DxzHDZBbeeTNPEwBuspYwipBqz5Gk5XdBjNhWw=
|
|
BETTER_AUTH_URL: http://localhost:3000
|
|
|
|
# Embedding Configuration
|
|
EMBEDDING_PROVIDER: gemma-embedding-2-openai
|
|
GEMMA_EMBEDDING_OPENAI_BASE_URL: http://embedding-server:9379/v1
|
|
ENABLE_EMBEDDING_AGENT: 'true'
|
|
CONCURRENCY_AGENT: 1
|
|
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
embedding-server:
|
|
condition: service_started
|
|
|
|
volumes:
|
|
postgres_data:
|