mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 08:03:46 +00:00
wip (#253)
This commit is contained in:
parent
70d31f819c
commit
5ea9ec5e2f
47 changed files with 2605 additions and 669 deletions
|
|
@ -93,6 +93,27 @@ services:
|
|||
- "foundry_shared_node_modules:/app/foundry/packages/shared/node_modules"
|
||||
- "foundry_pnpm_store:/tmp/.local/share/pnpm/store"
|
||||
|
||||
smee:
|
||||
image: node:20-alpine
|
||||
depends_on:
|
||||
- backend
|
||||
env_file:
|
||||
- path: .env
|
||||
required: false
|
||||
environment:
|
||||
SMEE_URL: "${SMEE_URL:-}"
|
||||
SMEE_TARGET: "${SMEE_TARGET:-http://backend:7741/v1/webhooks/github}"
|
||||
command:
|
||||
- /bin/sh
|
||||
- -lc
|
||||
- |
|
||||
if [ -z "$SMEE_URL" ]; then
|
||||
echo "SMEE_URL is required for local GitHub webhook forwarding" >&2
|
||||
exit 1
|
||||
fi
|
||||
exec npx --yes smee-client --url "$SMEE_URL" --target "$SMEE_TARGET"
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
foundry_backend_root_node_modules: {}
|
||||
foundry_backend_backend_node_modules: {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue