{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d08e5554-781e-4445-93d9-ea634b52228e",
    "slug": "piney",
    "name": "Piney - AI Character Studio",
    "description": "SillyTavern Character Card Workstation.",
    "url": "https://railway.com/deploy/piney",
    "upstream": {
      "image": "ghcr.io/andclear/piney:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Piney",
      "source": {
        "image": "ghcr.io/andclear/piney:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HOST",
      "service": "Piney",
      "description": "Bind to all network interfaces.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "PORT",
      "service": "Piney",
      "description": "Internal application listening port.",
      "secret": false,
      "strategy": "default",
      "default": "9696"
    },
    {
      "key": "RUN_MODE",
      "service": "Piney",
      "description": "Mode of operation for the Piney application server.",
      "secret": false,
      "strategy": "default",
      "default": "server"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "piney"
      }
    },
    "cli": "railway deploy --template piney",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d08e5554-781e-4445-93d9-ea634b52228e",
            "serializedConfig": {
              "services": {
                "542460f9-db6f-44cc-b88a-e646301a3ab7": {
                  "name": "Piney",
                  "source": {
                    "image": "ghcr.io/andclear/piney:latest"
                  },
                  "variables": {
                    "HOST": {
                      "description": "Bind to all network interfaces.",
                      "defaultValue": "0.0.0.0"
                    },
                    "PORT": {
                      "description": "Internal application listening port.",
                      "defaultValue": "9696"
                    },
                    "RUN_MODE": {
                      "description": "Mode of operation for the Piney application server.",
                      "defaultValue": "server"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:9696": {
                        "port": 9696
                      }
                    }
                  },
                  "volumeMounts": {
                    "542460f9-db6f-44cc-b88a-e646301a3ab7": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-08T05:54:19.399Z",
  "generator_version": "0.1.0"
}
