{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ff29e787-4199-4629-9d97-ff1f88bf11b2",
    "slug": "yamtrack",
    "name": "Yamtrack",
    "description": "Self-hosted tracker for movies, TV, anime, manga, games, and books.",
    "url": "https://railway.com/deploy/yamtrack",
    "upstream": {
      "image": "ghcr.io/fuzzygrim/yamtrack:0.25.3@sha256:00acf008bca8171226063bc0f8f08ef7ffe24a10bcebf8676cce335ce312c307"
    }
  },
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.0.2@sha256:b43d2dcbbdb1f9e1582e3a0f37e53bf79038522ccffb56a25858969d7a9b6c11"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "Yamtrack",
      "source": {
        "image": "ghcr.io/fuzzygrim/yamtrack:0.25.3@sha256:00acf008bca8171226063bc0f8f08ef7ffe24a10bcebf8676cce335ce312c307"
      },
      "needs_volume": true,
      "volume_mount_path": "/yamtrack/db",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SKIP_DROP_PRIVS",
      "service": "Redis",
      "description": "Keeps the official Redis process able to write the Railway volume when lost+found prevents the image's ownership repair. Redis remains private.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "TZ",
      "service": "Yamtrack",
      "description": "IANA timezone used by Django and Celery; change after deployment if needed.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "Yamtrack",
      "description": "Internal HTTP port exposed by the pinned Yamtrack image and used by Railway health checks.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "URLS",
      "service": "Yamtrack",
      "description": "Public Railway origin trusted by Django for CSRF, redirects, and webhooks.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SECRET",
      "service": "Yamtrack",
      "description": "64-character hexadecimal Django signing secret generated once for this deployment.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "REDIS_URL",
      "service": "Yamtrack",
      "description": "Private Redis connection used by cache, health checks, and Celery.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "yamtrack"
      }
    },
    "cli": "railway deploy --template yamtrack",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ff29e787-4199-4629-9d97-ff1f88bf11b2",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "b5cc1367-6731-41a1-8f36-303e44aa0d6e": {
                  "icon": "https://cdn.simpleicons.org/redis/FF4438",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.0.2@sha256:b43d2dcbbdb1f9e1582e3a0f37e53bf79038522ccffb56a25858969d7a9b6c11"
                  },
                  "variables": {
                    "SKIP_DROP_PRIVS": {
                      "isOptional": false,
                      "description": "Keeps the official Redis process able to write the Railway volume when lost+found prevents the image's ownership repair. Redis remains private.",
                      "defaultValue": "1"
                    }
                  },
                  "volumeMounts": {
                    "b5cc1367-6731-41a1-8f36-303e44aa0d6e": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "Redis Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "Redis",
                      "description": "Nodes running Redis + colocated Sentinel",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your Redis instance to an HA cluster with Sentinel failover and HAProxy routing to the primary."
                  }
                },
                "bfd925e2-abdd-4790-94db-68d10c5cb719": {
                  "icon": "https://raw.githubusercontent.com/FuzzyGrim/Yamtrack/v0.25.3/docs/assets/logo.png",
                  "name": "Yamtrack",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health/",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/fuzzygrim/yamtrack:0.25.3@sha256:00acf008bca8171226063bc0f8f08ef7ffe24a10bcebf8676cce335ce312c307"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": true,
                      "description": "IANA timezone used by Django and Celery; change after deployment if needed.",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Internal HTTP port exposed by the pinned Yamtrack image and used by Railway health checks.",
                      "defaultValue": "8000"
                    },
                    "URLS": {
                      "isOptional": false,
                      "description": "Public Railway origin trusted by Django for CSRF, redirects, and webhooks.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SECRET": {
                      "isOptional": false,
                      "description": "64-character hexadecimal Django signing secret generated once for this deployment.",
                      "defaultValue": "{{SECRET}}"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private Redis connection used by cache, health checks, and Celery.",
                      "defaultValue": "redis://${{Redis.RAILWAY_PRIVATE_DOMAIN}}:6379"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "bfd925e2-abdd-4790-94db-68d10c5cb719": {
                      "mountPath": "/yamtrack/db"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Yamtrack",
      "method": "GET",
      "path": "/health/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-08T22:37:41.231Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_5b2282db4f1d4244abc3",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 47,
    "typical_build_seconds": 0,
    "typical_start_seconds": 31,
    "slowest_service": "Yamtrack"
  }
}
