{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9cd36caa-a82d-44be-8e7e-85d9bbafafcb",
    "slug": "rotki",
    "name": "rotki",
    "description": "Portfolio tracking, analytics, accounting and management application",
    "url": "https://railway.com/deploy/rotki",
    "upstream": {
      "image": "rotki/rotki:v1.41.0"
    }
  },
  "services": [
    {
      "name": "rotki",
      "source": {
        "image": "rotki/rotki:v1.41.0"
      },
      "needs_volume": true,
      "volume_mount_path": "/.rotki",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "LOGLEVEL",
      "service": "rotki",
      "description": "Enable logging from other modules",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "MAX_LOGFILES_NUM",
      "service": "rotki",
      "description": "SQLite instructions setting",
      "secret": false,
      "strategy": "default",
      "default": "3"
    },
    {
      "key": "LOGFROMOTHERMODULES",
      "service": "rotki",
      "description": "Maximum size in MB for all log files combined",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SQLITE_INSTRUCTIONS",
      "service": "rotki",
      "description": "Provide a value for SQLITE_INSTRUCTIONS.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "MAX_SIZE_IN_MB_ALL_LOGS",
      "service": "rotki",
      "description": "Maximum number of log files to keep",
      "secret": false,
      "strategy": "default",
      "default": "550"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "rotki"
      }
    },
    "cli": "railway deploy --template rotki",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9cd36caa-a82d-44be-8e7e-85d9bbafafcb",
            "serializedConfig": {
              "services": {
                "00489d21-8757-450c-aaa8-ab5cdf24c7f8": {
                  "icon": "https://raw.githubusercontent.com/rotki/data/main/assets/icons/app_logo.png",
                  "name": "rotki",
                  "source": {
                    "image": "rotki/rotki:v1.41.0"
                  },
                  "variables": {
                    "LOGLEVEL": {
                      "description": "Enable logging from other modules",
                      "defaultValue": "info"
                    },
                    "MAX_LOGFILES_NUM": {
                      "description": "SQLite instructions setting",
                      "defaultValue": "3"
                    },
                    "LOGFROMOTHERMODULES": {
                      "description": "Maximum size in MB for all log files combined",
                      "defaultValue": "true"
                    },
                    "SQLITE_INSTRUCTIONS": {
                      "defaultValue": "0"
                    },
                    "MAX_SIZE_IN_MB_ALL_LOGS": {
                      "description": "Maximum number of log files to keep",
                      "defaultValue": "550"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {
                    "00489d21-8757-450c-aaa8-ab5cdf24c7f8": {
                      "mountPath": "/.rotki"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "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-18T17:41:32.518Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_278c8ba5810a4339a5f8",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 49,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "rotki"
  }
}
