---
title: "Deploy daring-analysis"
description: "Single-tenant AgentHook with Railway MySQL."
category: "Other"
url: https://railway.com/deploy/daring-analysis-1
---

# Deploy daring-analysis

Single-tenant AgentHook with Railway MySQL.

**[Deploy daring-analysis on Railway](https://railway.com/template/daring-analysis-1)**

- **Creator:** abhinaviitg18's Projects
- **Category:** Other

## Template content

### MySQL https://devicons.railway.app/i/mysql.svg

- **Image:** mysql:9.4
- **Start command:** `docker-entrypoint.sh mysqld --innodb-use-native-aio=0 --disable-log-bin --performance_schema=0 --innodb-buffer-pool-size=1G`

### agenthook

- **Source:** https://github.com/abhinaviitg18/webhook_listener
- **Public domain:** Yes

## Documentation

# AgentHook Single-Tenant Railway Template

This template deploys AgentHook as a private, single-tenant Railway service with a managed Railway MySQL database.

## What Railway creates

- `agenthook`: the AgentHook web/API service from the connected GitHub repository.
- `MySQL`: a Railway-managed MySQL service with a persistent volume.

AgentHook receives `COMMERCE_MYSQL_DSN=${{MySQL.MYSQL_URL}}`, so it connects to the Railway-created database automatically. On startup, AgentHook runs the embedded SQL migrations and fails fast if the schema cannot be initialized.

## Required partner inputs

Set these during template deployment:

- `PUBLIC_BASE_URL`: the partner custom domain, for example `https://hooks.partner.com`.
- `APP_SESSION_SECRET`: a strong random session secret.
- `SINGLE_TENANT_OWNER_EMAIL`: the owner/operator email for the tenant.
- `SINGLE_TENANT_OWNER_ALIAS`: display alias for the owner/operator.
- `SINGLE_TENANT_SETUP_TOKEN_SHA256`: SHA-256 hash of the setup token the owner will use for first login.

The intended fixed values are:

- `APP_DEPLOYMENT_MODE=single_tenant`
- `APP_PLAN=enterprise`
- `ALLOW_PUBLIC_REGISTRATION=false`
- `USE_IN_MEMORY_STORE=false`
- `VERIFY_HTC_SIGNATURE=false`
- `PINECONE_ENABLED=false`
- `DETERMINISTIC_ONLY_TYPE_KEYS=ai-recruiter-inbox-message`

## Database behavior

The default path uses Railway MySQL. You do not need to manually create tables. AgentHook initializes and upgrades the schema during service startup.

Advanced users can override `COMMERCE_MYSQL_DSN` after deployment to point AgentHook at an external MySQL database. The same startup migrations will run there as well.

Do not use `USE_IN_MEMORY_STORE=true` for production. It is demo-only and does not persist data across restarts.

## Login flow

This template is for single-tenant installs. The owner logs in with the setup token on the home page. ScaleKit is intentionally not required for this flow.


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — [Jul'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/daring-analysis-1
