ghostfolio

by QuenchWorks

Helm chartv0.0.9App 3.100.0AGPL-3.0-onlyVerified publisher

Ghostfolio: wealth management and portfolio tracker for stocks, ETFs and crypto, on the bundled PostgreSQL and Valkey. Hardened by QuenchWorks: built from source, CVE-gated, cosign-signed and pinned by digest.

About this chart

Quenchworks Ghostfolio

Hardened Ghostfolio: a wealth management and portfolio tracker for stocks, ETFs and crypto, with performance analysis. The image builds the NestJS API and the Angular client from source and ships only the API's runtime dependencies; it runs as uid 1001 on a read-only root filesystem and is CVE-gated at build, cosign-signed and pinned by digest. One finding without a fix (node-forge, unreachable) is documented in a VEX statement.

The chart runs on the bundled QuenchWorks PostgreSQL and Valkey and generates ACCESS_TOKEN_SALT and JWT_SECRET_KEY. Database migrations and the seed run at start.

Install

helm install money oci://ghcr.io/quenchworks/charts/ghostfolio \
  --set ingress.enabled=true --set 'ingress.hosts[0].host=money.example.com' \
  --set 'ingress.tls[0].hosts[0]=money.example.com' --set 'ingress.tls[0].secretName=money-tls'

Open it, choose "Get Started": the first account becomes the administrator. Keep its security token, then close sign-up in Admin Control > Settings.

Configuration

KeyDefaultWhat it does
secret.existingSecret""A Secret with access-token-salt and jwt-secret-key instead of generated ones
postgresql.enabledtrueThe bundled PostgreSQL; or externalDatabase.existingSecret with a DATABASE_URL
valkey.enabledtrueThe bundled Valkey; or externalRedis.*
settings{}More environment variables (data provider keys, LOG_LEVELS)
ingress.*offGhostfolio has no TLS listener: terminate TLS at the Ingress

Verify the image

cosign verify ghcr.io/quenchworks/images/ghostfolio \
  --certificate-identity-regexp 'https://github.com/quenchworks/.+' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Deploy ghostfolio with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ghostfolio on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartghostfolio is pinned at v0.0.9 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply