sandbox-agent/foundry/compose.mock.yaml
2026-03-10 22:01:39 -07:00

31 lines
1.3 KiB
YAML

name: sandbox-agent-foundry-mock
services:
frontend:
build:
context: ..
dockerfile: foundry/docker/frontend.dev.Dockerfile
working_dir: /app
environment:
HOME: "/tmp"
FOUNDRY_FRONTEND_CLIENT_MODE: "mock"
ports:
- "4174:4173"
volumes:
- "..:/app"
- "./.sandbox-agent-foundry:/app/foundry/.sandbox-agent-foundry"
# Use Linux-native workspace dependencies inside the container instead of host node_modules.
- "sandbox-agent-foundry-mock_node_modules:/app/node_modules"
- "sandbox-agent-foundry-mock_client_node_modules:/app/foundry/packages/client/node_modules"
- "sandbox-agent-foundry-mock_frontend_errors_node_modules:/app/foundry/packages/frontend-errors/node_modules"
- "sandbox-agent-foundry-mock_frontend_node_modules:/app/foundry/packages/frontend/node_modules"
- "sandbox-agent-foundry-mock_shared_node_modules:/app/foundry/packages/shared/node_modules"
- "sandbox-agent-foundry-mock_pnpm_store:/tmp/.local/share/pnpm/store"
volumes:
sandbox-agent-foundry-mock_node_modules: {}
sandbox-agent-foundry-mock_client_node_modules: {}
sandbox-agent-foundry-mock_frontend_errors_node_modules: {}
sandbox-agent-foundry-mock_frontend_node_modules: {}
sandbox-agent-foundry-mock_shared_node_modules: {}
sandbox-agent-foundry-mock_pnpm_store: {}