{
  "manifest_version": "1.0.0",
  "template": {
    "id": "79dc20a0-111f-43df-9072-3b56fed156be",
    "slug": "wealthfolio-tracker",
    "name": "Wealthfolio",
    "description": "Empower Alternative. Track investments, holdings and net worth",
    "url": "https://railway.com/deploy/wealthfolio-tracker",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/wealthfolio-railway"
    }
  },
  "services": [
    {
      "name": "wealthfolio",
      "source": {
        "repo": "https://github.com/gridalpha/wealthfolio-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "wealthfolio",
      "description": "HTTP server listening port",
      "secret": false,
      "strategy": "default",
      "default": "8088"
    },
    {
      "key": "WF_SECRET_KEY",
      "service": "wealthfolio",
      "description": "Encrypts stored secrets, signs sessions",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "WF_AUTH_PASSWORD",
      "service": "wealthfolio",
      "description": "Password used to sign in",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "wealthfolio",
      "description": "Dockerfile location for the build",
      "secret": false,
      "strategy": "default",
      "default": "Dockerfile"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "wealthfolio-tracker"
      }
    },
    "cli": "railway deploy --template wealthfolio-tracker",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "79dc20a0-111f-43df-9072-3b56fed156be",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "44e23cb5-060f-4e07-8898-52fe974f4d0e": {
                  "icon": "https://raw.githubusercontent.com/wealthfolio/wealthfolio/main/assets/brand/icon.png",
                  "name": "wealthfolio",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/wealthfolio-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP server listening port",
                      "defaultValue": "8088"
                    },
                    "WF_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Encrypts stored secrets, signs sessions",
                      "defaultValue": "{{WF_SECRET_KEY}}"
                    },
                    "WF_AUTH_PASSWORD": {
                      "isOptional": false,
                      "description": "Password used to sign in",
                      "defaultValue": "{{WF_AUTH_PASSWORD}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Dockerfile location for the build",
                      "defaultValue": "Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8088": {
                        "port": 8088
                      }
                    }
                  },
                  "volumeMounts": {
                    "44e23cb5-060f-4e07-8898-52fe974f4d0e": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T16:51:07.037Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_c4521d24bafa4622b225",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 61,
    "typical_build_seconds": 20,
    "typical_start_seconds": 10,
    "slowest_service": "wealthfolio"
  }
}
