{
  "id": "ghostfolio",
  "name": "Ghostfolio",
  "slogan": "A privacy-first wealth tracker for stocks, ETFs, and crypto, with portfolio analytics and no ads.",
  "category": "Finance",
  "categorySlug": "finance",
  "tags": [
    "postgres",
    "redis",
    "multi-service"
  ],
  "license": {
    "spdx": "AGPL-3.0",
    "class": "network-copyleft"
  },
  "memoryMiB": 1024,
  "architectures": {
    "amd64": "published",
    "arm64": "published"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install ghostfolio --name my-ghostfolio",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/ghostfolio/",
  "docsUrl": "https://github.com/ghostfolio/ghostfolio",
  "sourceRepo": "https://github.com/ghostfolio/ghostfolio",
  "markdownUrl": "https://levelrail.com/templates/ghostfolio.md",
  "jsonUrl": "https://levelrail.com/templates/ghostfolio.json",
  "indexable": true,
  "description": "A privacy-first wealth tracker for stocks, ETFs, and crypto, with portfolio analytics and no ads. Runs 3 containers (db, ghostfolio, redis), with ghostfolio listening on port 3333 and keeps its data in named volumes.",
  "pinnedTag": "16-alpine",
  "licenseUrl": "https://github.com/ghostfolio/ghostfolio/blob/main/LICENSE",
  "licenseClassLabel": "Network copyleft (AGPL) license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [],
  "services": [
    {
      "name": "db",
      "image": "postgres",
      "tag": "16-alpine",
      "ports": [],
      "volumes": [
        "ghostfolio_db_data -> /var/lib/postgresql/data"
      ]
    },
    {
      "name": "ghostfolio",
      "image": "ghostfolio/ghostfolio",
      "tag": "3.72.0",
      "ports": [
        3333
      ],
      "volumes": []
    },
    {
      "name": "redis",
      "image": "redis",
      "tag": "7-alpine",
      "ports": [],
      "volumes": [
        "ghostfolio_redis_data -> /data"
      ]
    }
  ],
  "env": [
    {
      "service": "db",
      "name": "POSTGRES_DB",
      "kind": "preset"
    },
    {
      "service": "db",
      "name": "POSTGRES_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "POSTGRES_USER",
      "kind": "preset"
    },
    {
      "service": "ghostfolio",
      "name": "ACCESS_TOKEN_SALT",
      "kind": "generated"
    },
    {
      "service": "ghostfolio",
      "name": "DATABASE_URL",
      "kind": "generated"
    },
    {
      "service": "ghostfolio",
      "name": "JWT_SECRET_KEY",
      "kind": "generated"
    },
    {
      "service": "ghostfolio",
      "name": "REDIS_HOST",
      "kind": "preset"
    },
    {
      "service": "ghostfolio",
      "name": "REDIS_PORT",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates deploy ghostfolio --name my-ghostfolio",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/ghostfolio/deploy",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates deploy ghostfolio --name my-ghostfolio"
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" \\\n  https://levelrail.example.com/api/v1/service-templates/ghostfolio/deploy",
        "note": "Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove."
      }
    ]
  }
}
