Add Smee webhook forwarding service

This commit is contained in:
Nathan Flurry 2026-03-12 13:00:23 -07:00
parent 6e95596799
commit 5c70cbcd23
3 changed files with 20 additions and 0 deletions

View file

@ -111,6 +111,24 @@ 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
environment:
SMEE_URL: "${SMEE_URL:-}"
SMEE_TARGET: "${SMEE_TARGET:-http://backend:7741/api/rivet/app/webhooks/github}"
command:
- /bin/sh
- -lc
- |
if [ -z "$SMEE_URL" ]; then
echo "SMEE_URL is not set; exiting"
exit 1
fi
npx --yes smee-client --url "$SMEE_URL" --target "$SMEE_TARGET"
restart: unless-stopped
volumes:
foundry_backend_root_node_modules: {}
foundry_backend_backend_node_modules: {}