---
title: "Deploy OpenStock"
description: "Open-source stock tracker with watchlists, alerts and AI market summaries."
category: "Other"
url: https://railway.com/deploy/openstock-1
---

# Deploy OpenStock

Open-source stock tracker with watchlists, alerts and AI market summaries.

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

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

- **Creator:** cdrusu
- **Category:** Other

## Template content

### OpenStock https://devicons.railway.app/railway

- **Source:** cosmind-rusu/OpenStock
- **Health check:** /sign-in
- **Public domain:** Yes

### MongoDB https://devicons.railway.app/i/mongodb.svg

- **Image:** mongo:8.0
- **Start command:** `docker-entrypoint.sh mongod --ipv6 --bind_ip ::,0.0.0.0 --setParameter diagnosticDataCollectionEnabled=false`

## Documentation

# Deploy and Host OpenStock on Railway

OpenStock is a free, open-source alternative to paid stock platforms. Track real-time prices, build watchlists, set price alerts and get AI-generated market news summaries, all without subscriptions.

## About Hosting OpenStock

This template deploys the OpenStock Next.js app from its Dockerfile together with a MongoDB database. The auth secret, public URL and database connection are configured automatically. You only need to provide your Finnhub, Gemini and Inngest API keys.

## Common Use Cases

- Self-hosting a personal stock dashboard and watchlist
- Getting price alerts and AI market summaries by email
- A base for building your own market tools

## Dependencies for OpenStock Hosting

- **Finnhub API key**: market data (free tier at finnhub.io)
- **Gemini API key**: AI summaries (aistudio.google.com)
- **Inngest signing key**: scheduled jobs (app.inngest.com)

### Deployment Dependencies

- Source: https://github.com/Open-Dev-Society/OpenStock
- License: AGPL-3.0

## Why Deploy OpenStock on Railway?

Railway runs the app and its MongoDB database in one project, with automatic HTTPS, persistent storage and redeploys on every push, so you can have OpenStock live in a few minutes.

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — 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/openstock-1
