Railway

Deploy daring-analysis

Single-tenant AgentHook with Railway MySQL and one-field owner setup.

Deploy daring-analysis

Just deployed

Just deployed

/var/lib/mysql

Deploy and Host AgentHook

Deploy AgentHook as a private, single-tenant operator console with a managed Railway MySQL service.

About Hosting

This template creates two services: agenthook and MySQL. Enter only SINGLE_TENANT_OWNER_EMAIL; Railway generates the MySQL root password and AgentHook connects over Railway private networking. On first boot AgentHook creates the railway database if needed, runs embedded schema migrations, and prints a one-time owner claim_code and claim URL in the agenthook service logs.

Why Deploy

AgentHook gives a partner-owned Railway workspace a private webhook listener, API-token console, listener management, event storyboard, and durable MySQL-backed storage without requiring ScaleKit or the hosted multi-tenant landing flow.

Common Use Cases

  • Deploy a private webhook intake service for a partner or customer environment.
  • Generate API tokens and listener secrets from a single owner console.
  • Receive webhook events on the Railway or partner custom domain and inspect them in Storyboard.
  • Keep data persistent across redeploys using the bundled Railway MySQL volume.

Dependencies for AgentHook

AgentHook depends on a MySQL-compatible database. This template includes a MySQL service by default and wires COMMERCE_MYSQL_DSN internally, so installers do not need to enter database host, port, user, password, or database values.

Deployment Dependencies

The only required installer value is SINGLE_TENANT_OWNER_EMAIL. After deployment, open the agenthook service logs, copy the one-time claim_code, open the deployed service URL, and enter the code to claim the owner account. For partner installs, add a custom domain in Railway and optionally set PUBLIC_BASE_URL=https://your-domain.example after deployment so generated webhook examples use the partner domain. Do not enable USE_IN_MEMORY_STORE=true for production because that mode is demo-only and non-persistent.


Template Content

More templates in this category

View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
View Template
(v1) Simple Medusa Backend
Deploy an ecommerce backend and admin using Medusa

Shahed Nasser