{
  "manifest_version": "1.0.0",
  "template": {
    "id": "dc3cb1b1-891f-4863-8f93-968bf12e83bc",
    "slug": "anki-sync-server",
    "name": "Anki Sync Server",
    "description": "Deploy and Host Anki Sync Server with Railway",
    "url": "https://railway.com/deploy/anki-sync-server",
    "upstream": {
      "image": "ghcr.io/null2264/anki-railway:25.09"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "AnkiSync",
      "source": {
        "image": "ghcr.io/null2264/anki-railway:25.09"
      },
      "needs_volume": true,
      "volume_mount_path": "/anki_data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SYNC_USER1",
      "service": "AnkiSync",
      "description": "Should formatted like this: username:password",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "anki-sync-server"
      }
    },
    "cli": "railway deploy --template anki-sync-server",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "dc3cb1b1-891f-4863-8f93-968bf12e83bc",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "08b285fa-0005-4bfa-b9be-96f5e8a25372": {
                  "icon": null,
                  "name": "AnkiSync",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/null2264/anki-railway:25.09"
                  },
                  "variables": {
                    "SYNC_USER1": {
                      "isOptional": false,
                      "description": "Should formatted like this: username:password",
                      "defaultValue": "{{SYNC_USER1}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "08b285fa-0005-4bfa-b9be-96f5e8a25372": {
                      "mountPath": "/anki_data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
