---
title: "Deploy Ghostfolio"
description: "Personal finance portfolio tracker for stocks, ETFs, and crypto."
category: "Analytics"
url: https://railway.com/deploy/ghostfolio-1
---

# Deploy Ghostfolio

Personal finance portfolio tracker for stocks, ETFs, and crypto.

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

- **Creator:** Agaz Self-Host
- **Category:** Analytics

## Template content

### Postgres

- **Image:** postgres:14-bullseye@sha256:c2a30d08a6f9e6c365595fd086c9e0436064c52425f15f72379ecf0807bac518

### Redis

- **Image:** redis:6.2-bullseye@sha256:5cdb2ac6f780e1d250787f4a887c1ed1166e3389757189ea913059409acc6f7c
- **Start command:** `/bin/sh -c 'exec redis-server --requirepass "$REDIS_PASSWORD"'`

### Ghostfolio

- **Image:** ghostfolio/ghostfolio:3.35.0@sha256:369cf19ae629062ae3b316cbdd0c6952536219ee0326cc03733a93f4e2639606
- **Health check:** /api/v1/health
- **Public domain:** Yes

## Documentation

# Deploy and Host Ghostfolio on Railway

Ghostfolio is an open-source personal finance platform for tracking stocks, exchange-traded funds, and cryptocurrencies. It provides portfolio views, performance analysis, and market-oriented dashboards for individuals who want a self-hosted view of their financial data.

## About Hosting Ghostfolio on Railway

This template runs Ghostfolio with PostgreSQL for durable application data and Redis for caching. The application service should use private networking for database and cache connections, while its HTTP endpoint is exposed for browser access. Generated passwords and signing values are kept as template-time secrets and service references rather than copied credentials. Configure a persistent volume for PostgreSQL and review the upstream deployment guidance before importing existing data.

## Common Use Cases

* Track a personal portfolio across stocks, ETFs, and cryptocurrencies.
* Review allocation, performance, and transaction history from a private dashboard.
* Operate a self-hosted finance workspace with PostgreSQL-backed persistence.

## Dependencies for Ghostfolio Hosting

* PostgreSQL for persistent application data.
* Redis for caching and background application support.

### Deployment Dependencies

* [Ghostfolio documentation](https://ghostfolio.org/docs)
* [Ghostfolio source repository](https://github.com/ghostfolio/ghostfolio)

## Why Deploy Ghostfolio 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 Ghostfolio 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.


## Similar templates

- [Matomo Analytics + MariaDB](https://railway.com/deploy/matomo-analytics-mariadb) — Privacy-friendly analytics with MariaDB and persistent volumes.
- [Bugsink](https://railway.com/deploy/bugsink) — Self-hosted Error Tracking. Sentry-SDK compatible
- [SubTrackr](https://railway.com/deploy/bscottsubtrackr) — Self-hosted Subscription Tracker

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