---
title: "Deploy QuantDinger"
description: "AI quant trading with backtests, live trading, Postgres, Redis, and Kafka"
category: "AI/ML"
url: https://railway.com/deploy/quantdinger-1
---

# Deploy QuantDinger

AI quant trading with backtests, live trading, Postgres, Redis, and Kafka

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

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/quantdinger-1/manifest.json

- **Creator:** Lab4Code
- **Category:** AI/ML

## Template content

### celery-worker

- **Image:** ghcr.io/openbyteinc/quantdinger-backend:latest
- **Start command:** `/usr/local/bin/docker-entrypoint.sh celery -A app.celery_app:celery_app worker --loglevel=INFO -Q ai,maintenance --concurrency=2`

### scheduler-worker

- **Image:** ghcr.io/openbyteinc/quantdinger-backend:latest
- **Start command:** `/usr/local/bin/docker-entrypoint.sh python -m app.commands.scheduler`

### kafka-audit-worker

- **Image:** ghcr.io/openbyteinc/quantdinger-backend:latest
- **Start command:** `/usr/local/bin/docker-entrypoint.sh python -m app.commands.kafka_audit_worker`

### backend

- **Image:** ghcr.io/openbyteinc/quantdinger-backend:latest

### celery-beat

- **Image:** ghcr.io/openbyteinc/quantdinger-backend:latest
- **Start command:** `/usr/local/bin/docker-entrypoint.sh celery -A app.celery_app:celery_app beat --loglevel=INFO --schedule=/app/data/celerybeat-schedule`

### kafka-init

- **Image:** ghcr.io/openbyteinc/quantdinger-backend:latest
- **Start command:** `/usr/local/bin/docker-entrypoint.sh python -m app.commands.kafka_topics`

### migration

- **Image:** ghcr.io/openbyteinc/quantdinger-backend:latest
- **Start command:** `/usr/local/bin/docker-entrypoint.sh python -m app.commands.migrate`

### postgres

- **Image:** postgres:18.3-alpine
- **Start command:** `docker-entrypoint.sh postgres -c max_connections=150 -c shared_buffers=256MB`

### redis

- **Image:** redis:8-alpine
- **Start command:** `redis-server --maxmemory 128mb --maxmemory-policy allkeys-lru`

### trading-worker

- **Image:** ghcr.io/openbyteinc/quantdinger-backend:latest
- **Start command:** `/usr/local/bin/docker-entrypoint.sh python -m app.commands.trading_worker`

### strategy-evaluator-worker

- **Image:** ghcr.io/openbyteinc/quantdinger-backend:latest
- **Start command:** `/usr/local/bin/docker-entrypoint.sh python -m app.commands.strategy_evaluator_worker`

### redis-jobs

- **Image:** redis:8-alpine
- **Start command:** `redis-server --appendonly yes --appendfsync everysec --maxmemory 512mb --maxmemory-policy noeviction`

### strategy-dispatcher-worker

- **Image:** ghcr.io/openbyteinc/quantdinger-backend:latest
- **Start command:** `/usr/local/bin/docker-entrypoint.sh python -m app.commands.strategy_dispatcher_worker`

### celery-backtest-worker

- **Image:** ghcr.io/openbyteinc/quantdinger-backend:latest
- **Start command:** `/usr/local/bin/docker-entrypoint.sh celery -A app.celery_app:celery_app worker --loglevel=INFO -Q backtest --concurrency=1 --max-tasks-per-child=1 --max-memory-per-child=1572864`

### kafka

- **Image:** apache/kafka:4.3.1

### frontend

- **Image:** ghcr.io/openbyteinc/quantdinger-frontend:latest
- **Start command:** `sh -c 'NS=$(awk "/^nameserver/{print \$2; exit}" /etc/resolv.conf); case $NS in *:*) NS="[$NS]";; esac; sed -i "s/resolver 127.0.0.11/resolver $NS/" /etc/nginx/templates/default.conf.template; exec /docker-entrypoint.sh nginx -g "daemon off;"'`
- **Public domain:** Yes

## Documentation

# Deploy and Host QuantDinger on Railway

QuantDinger is an open-source AI platform for quantitative trading. You can develop strategies, run historical backtests, and manage live trading through its web interface.

## About Hosting QuantDinger

This template deploys 16 services: PostgreSQL, two Redis services, Kafka, the backend API, the frontend, migration, Kafka initialization, and eight workers. The workers handle trading, audits, strategy dispatch, strategy evaluation, scheduling, and Celery tasks.

The frontend is the public service. Its HTTP domain connects to port 80. The API, workers, and databases use Railway private networking. Each deployment generates its own database and application secrets. The workers reference the backend secrets.

### Administrator login

After deployment, the frontend domain opens the web interface. The administrator username is `quantdinger`. The login password is the generated `ADMIN_PASSWORD` in the backend service's **Variables** tab.

### Expected Railway cost

Railway charges for actual resource use. This template has no fixed monthly price. The prices checked on 4 December 2026 are approximately:

- Memory: $10 per GB-month.
- CPU: $20 per vCPU-month.
- Volume storage: $0.16 per GB-month.
- Service egress: $0.05 per GB.

A 30-day example costs about $51 with these totals across all services:

- Average memory use of 4 GB.
- Average CPU use of 0.5 vCPU.
- Volume storage of 5 GB.
- Egress of 10 GB.

These totals are assumptions, not measurements of this template. Backtests and concurrent strategies can increase costs. Hobby has a $5 monthly minimum that includes $5 of usage. The Free plan allows three services, so it cannot host this 16-service template. [Railway pricing](https://railway.com/pricing) lists the current rates. Your deployment's **Usage** page shows its charges.

## Common Use Cases

QuantDinger supports these workflows:

- Develop and compare quantitative trading strategies.
- Run historical backtests and review the results.
- Host the web interface and workers for your trading workflows.

## Dependencies for QuantDinger hosting

The deployment requires these resources:

- A Railway plan that supports 16 services and persistent volumes.
- PostgreSQL, Redis, and Kafka, included in this template.
- Your provider or exchange credentials for the integrations you use.

## Why Deploy QuantDinger on Railway?

Railway hosts the web interface, API, workers, and data services in one project. The project includes service variables, private networking, persistent volumes, logs, and usage metrics.

The [QuantDinger source repository](https://github.com/OpenByteInc/QuantDinger) uses the [Apache-2.0 license](https://github.com/OpenByteInc/QuantDinger/blob/main/LICENSE). This is a community template. QuantDinger does not maintain this template.


## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

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