{
  "manifest_version": "1.0.0",
  "template": {
    "id": "f12a34d4-0ac3-465c-8889-fcd133989c47",
    "slug": "phygital-memory",
    "name": "Phygital Memory",
    "description": "Your notes on your own server, for the AI on your phone.",
    "url": "https://railway.com/deploy/phygital-memory",
    "upstream": {
      "image": "ghcr.io/phygital-brain/phygital-memory:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Phygital Memory",
      "source": {
        "image": "ghcr.io/phygital-brain/phygital-memory:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Phygital Memory",
      "description": "The port the server listens on. Leave it as it is.",
      "secret": false,
      "strategy": "default",
      "default": "8790"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "phygital-memory"
      }
    },
    "cli": "railway deploy --template phygital-memory",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "f12a34d4-0ac3-465c-8889-fcd133989c47",
            "serializedConfig": {
              "services": {
                "cc5404a6-38a8-41f9-996c-cc78cf04bc5a": {
                  "name": "Phygital Memory",
                  "source": {
                    "image": "ghcr.io/phygital-brain/phygital-memory:latest",
                    "autoUpdates": {
                      "type": "patch",
                      "schedule": [
                        {
                          "day": 0,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 1,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 2,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 3,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 4,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 5,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 6,
                          "endHour": 6,
                          "startHour": 2
                        }
                      ]
                    }
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "The port the server listens on. Leave it as it is.",
                      "defaultValue": "8790"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8790": {
                        "port": 8790
                      }
                    }
                  },
                  "volumeMounts": {
                    "cc5404a6-38a8-41f9-996c-cc78cf04bc5a": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-29T04:15:00.444Z",
  "generator_version": "0.1.0"
}
