Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 754 Bytes

File metadata and controls

25 lines (19 loc) · 754 Bytes

Webhook bridge without public ingress

Some automations do not need to receive webhooks directly. A bridge worker can poll or pull events over Tailnet/private egress, then write to your internal queue/database. This keeps the worker off the public internet.

flowchart LR
  Scheduler["Nomad periodic job"] --> Poller["poller task"]
  Poller -->|HTTP_PROXY| TS["tailscaled sidecar"]
  TS --> Source["event source / API"]
  Poller --> Queue["internal queue/db\nexample placeholder"]
Loading

Validate

nomad job validate examples/webhook-bridge/webhook-bridge.nomad.hcl

Run against a specific source

nomad job plan \
  -var='poll_url=https://example.com/events' \
  examples/webhook-bridge/webhook-bridge.nomad.hcl