Railway

Deploy NOFX

AI trading terminal for stocks, forex, crypto, and commodities.

Deploy NOFX

nofx-railway-template

Amritasha/nofx-railway-template

Just deployed

/app/data

Deploy and Host NOFX on Railway

NOFX is an open-source AI trading terminal assistant for US stocks, commodities, forex, and crypto. It combines a Go backend with a modern web frontend, offering real-time market analysis, AI-powered trade insights, and secure API key management — all self-hosted.

About Hosting NOFX

Hosting NOFX involves running a single all-in-one container that bundles the Go backend and nginx-served frontend. The backend handles market data, AI inference, and user authentication, while nginx proxies the frontend and API on a single public port. NOFX uses SQLite by default for storage, requiring a persistent volume mounted at /app/data to survive redeployments. Encryption keys and JWT secrets are auto-generated at startup if not provided, making initial deployment straightforward with minimal configuration required.

Common Use Cases

  • Personal AI-assisted trading dashboard for monitoring US stocks, forex, and crypto
  • Self-hosted alternative to cloud trading terminals with full data privacy
  • Backtesting and market analysis with AI-generated trade signals

Dependencies for NOFX Hosting

  • Persistent volume mounted at /app/data for SQLite database storage
  • JWT_SECRET environment variable (minimum 32 characters)

Deployment Dependencies

Implementation Details

The container runs nginx on Railway's PORT (default 8080) and proxies /api/ requests to the Go backend on internal port 8081. RSA and AES-256 encryption keys are auto-generated at container startup if not set via environment variables.

# Generate a secure JWT_SECRET
openssl rand -base64 32

## Why Deploy NOFX on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying NOFX on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

Template Content

nofx-railway-template

Amritasha/nofx-railway-template

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
View Template
Hermes Agent | OpenClaw Alternative with Dashboard
[Jun'26] Self-improving AI agent with memory, skills, and web dashboard 🤖

codestorm
View Template
EchoDeck
Generate a mp4 from powerpoint with TTS

Fixed Scope