Files
wehub-resource-sync d68f003000
CI / Change detection (push) Has been cancelled
CI / Version drift (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Workflow RLM cache (push) Has been cancelled
CI / Test (macos-latest) (push) Has been cancelled
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / npm wrapper smoke (push) Has been cancelled
CI / Mobile runtime smoke (push) Has been cancelled
CI / Workflow lint (push) Has been cancelled
CI / Documentation (push) Has been cancelled
Web Frontend / Lint & Type Check (push) Failing after 1s
Auto-close harvested PRs / close (push) Failing after 1s
cargo-deny / cargo-deny (bans licenses sources) (push) Failing after 1s
Security audit / cargo-audit (push) Failing after 1s
Sync to CNB / sync (push) Failing after 1s
Web Frontend / Deploy to Cloudflare (push) Waiting to run
cargo-deny / cargo-deny (advisories) (push) Failing after 3s
chore: import upstream snapshot with attribution
2026-07-13 12:08:23 +08:00

41 lines
1.6 KiB
YAML

# Opt-in CodeWhale toolbox workflow.
#
# Usage:
# CODEWHALE_IMAGE=ghcr.io/hmbown/codewhale:vX.Y.Z \
# CODEWHALE_TOOLBOX_IMAGE=codewhale-toolbox:my-project \
# CODEWHALE_HOME_VOLUME=codewhale-my-project-home \
# CODEWHALE_WORKSPACE="$PWD" \
# docker compose -f docs/examples/compose.toolbox.yml run --rm codewhale
#
# Keep CODEWHALE_HOME_VOLUME distinct per project so sessions, config, skills,
# memory, and queued work do not bleed across workspaces.
services:
codewhale:
image: ${CODEWHALE_TOOLBOX_IMAGE:-codewhale-toolbox:local}
build:
context: ../..
dockerfile: docs/examples/Dockerfile.toolbox
args:
CODEWHALE_IMAGE: ${CODEWHALE_IMAGE:-ghcr.io/hmbown/codewhale:latest}
TOOLBOX_PACKAGES: ${TOOLBOX_PACKAGES:-git openssh-client curl build-essential pkg-config python3 python3-pip nodejs npm}
environment:
- DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY:?set DEEPSEEK_API_KEY}
- DEEPSEEK_BASE_URL
- DEEPSEEK_NO_COLOR
volumes:
- codewhale-home:/home/codewhale/.codewhale
- ${CODEWHALE_WORKSPACE:?set CODEWHALE_WORKSPACE to the project directory}:/workspace
# Mount SSH material only for projects that need it, and prefer read-only.
# - ${HOME}/.ssh:/home/codewhale/.ssh:ro
# Mount local CA certificates only when starting through a command that
# runs `sudo update-ca-certificates` inside this toolbox image.
# - ${CODEWHALE_CERTS_DIR:-../../docker/certs}:/usr/local/share/ca-certificates/local:ro
working_dir: /workspace
stdin_open: true
tty: true
volumes:
codewhale-home:
name: ${CODEWHALE_HOME_VOLUME:-codewhale-toolbox-home}