Deploy OpenStock
Open-source stock tracker with watchlists, alerts and AI market summaries.
OpenStock
Just deployed
MongoDB
Just deployed
/data/db
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.
Template Content
OpenStock
cosmind-rusu/OpenStockGEMINI_API_KEY
Google Gemini API key for AI market summaries. Get one at aistudio.google.com
INNGEST_SIGNING_KEY
Inngest signing key for scheduled jobs (alerts, summaries). Get it at app.inngest.com
NEXT_PUBLIC_FINNHUB_API_KEY
Finnhub API key for market data (free tier at finnhub.io). Used at build time.
MongoDB
mongo:8.0