How to Self-Host Ghostfolio Personal Wealth & Stock Portfolio Tracker on VPS with Docker
Contabo High-Performance Cloud VPS
Massive 4 vCPU cores, 8GB RAM, and 32TB monthly traffic. Ideal for Linux developers.
The Privacy Danger of Cloud Wealth Management Apps
Commercial wealth tracking applications (like Mint, Personal Capital, or Kubera) require linking bank credentials and stock brokerages, exposing your entire financial history to third-party data aggregators and targeted advertisers. Ghostfolio is an open-source, privacy-first personal wealth tracker that allows you to manage stocks, ETFs, crypto assets, and cash reserves on your own private server.
Deploying Ghostfolio via Docker Compose on Contabo VPS
mkdir -p ~/ghostfolio && cd ~/ghostfolio
nano docker-compose.yml
services:
ghostfolio:
image: ghostfolio/ghostfolio:latest
container_name: ghostfolio
restart: unless-stopped
ports:
- "127.0.0.1:3333:3333"
environment:
- DATABASE_URL=postgresql://ghostfolio:db_secret@postgres:5432/ghostfolio
- REDIS_URL=redis://redis:6379
- JWT_SECRET_KEY=YOUR_64_CHARACTER_JWT_SECRET
depends_on:
- postgres
- redis
postgres:
image: postgres:16-alpine
restart: unless-stopped
volumes:
- ./pgdata:/var/lib/postgresql/data
environment:
- POSTGRES_DB=ghostfolio
- POSTGRES_USER=ghostfolio
- POSTGRES_PASSWORD=db_secret
redis:
image: redis:alpine
restart: unless-stopped
docker compose up -d
Bind to Nginx on port 3333 with Let's Encrypt SSL, create your master account, and start tracking your global net worth with complete financial privacy.
Editorial Verdict: Pros & Cons
What We Love (Pros)
- 100% privacy: keep your real net worth, bank balances, and stock allocations off commercial fintech servers
- Tracks stocks, ETFs, cryptocurrencies, precious metals, and real estate in real time
- Clean, modern Vue.js and NestJS dashboard with performance analytics and dividend tracking
Drawbacks (Cons)
- Requires free API token from financial data providers (like Alpha Vantage or Yahoo Finance)
Deploy Your Contabo Cloud Server
Includes 4 vCPU Cores, 8GB RAM, 50GB NVMe SSD, and 32TB Outbound Traffic.
Written by Marcus Sterling
DevOps & Cloud Engineer
Alex and the ServerCraft engineering lab run routine benchmarks on over 25 web hosting providers, maintaining strict objectivity and reproducibility.
Recommended Next Reads
Hostinger vs Contabo VPS (2026): Real Benchmark Test & In-Depth Comparison
A comprehensive, benchmark-driven comparison between Hostinger and Contabo VPS. We tested Geekbench CPU scores, NVMe I/O, network latency, and hPanel vs CLI.
Hostinger Review (2026): Is It Truly the Best Web Hosting for the Price?
We stress-tested Hostinger's Premium and Cloud Startup plans across 180 days. Read our honest review covering uptime, LiteSpeed speed tests, and renewal fees.