{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5eb6f498-a7d6-41dc-a23b-ba98a1b1bd8d",
    "slug": "soulacy-personal",
    "name": "Soulacy Personal",
    "description": "Private AI agent gateway with generated secrets and secure iPhone pairing.",
    "url": "https://railway.com/deploy/soulacy-personal",
    "upstream": {
      "repo_url": "https://github.com/vmodekurti/soulacy-personal"
    }
  },
  "services": [
    {
      "name": "soulacy-personal",
      "source": {
        "repo": "https://github.com/vmodekurti/soulacy-personal"
      },
      "needs_volume": true,
      "volume_mount_path": "/home/soulacy/.soulacy",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SOULACY_AUTH_MODE",
      "service": "soulacy-personal",
      "description": "Keeps the gateway in single-operator API-key authentication mode.",
      "secret": false,
      "strategy": "default",
      "default": "apikey"
    },
    {
      "key": "SOULACY_SERVER_HOST",
      "service": "soulacy-personal",
      "description": "Binds Soulacy to Railway networking inside the container.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "SOULACY_SERVER_API_KEY",
      "service": "soulacy-personal",
      "description": "Generated login key. After deployment, reveal and copy this value to sign in once, then use Mobile pairing for iPhone.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SOULACY_AUTH_JWT_SECRET",
      "service": "soulacy-personal",
      "description": "Generated internal JWT signing secret. Do not use this value as the gateway login key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SOULACY_DEPLOYMENT_PROFILE",
      "service": "soulacy-personal",
      "description": "Enables secure defaults for a personal self-hosted Soulacy workspace.",
      "secret": false,
      "strategy": "default",
      "default": "personal"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "soulacy-personal"
      }
    },
    "cli": "railway deploy --template soulacy-personal",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5eb6f498-a7d6-41dc-a23b-ba98a1b1bd8d",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "13754c31-3a7f-467f-af18-2243b0cc3fcd": {
                  "icon": null,
                  "name": "soulacy-personal",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/vmodekurti/soulacy-personal",
                    "rootDirectory": "."
                  },
                  "variables": {
                    "SOULACY_AUTH_MODE": {
                      "isOptional": false,
                      "description": "Keeps the gateway in single-operator API-key authentication mode.",
                      "defaultValue": "apikey"
                    },
                    "SOULACY_SERVER_HOST": {
                      "isOptional": false,
                      "description": "Binds Soulacy to Railway networking inside the container.",
                      "defaultValue": "0.0.0.0"
                    },
                    "SOULACY_SERVER_API_KEY": {
                      "isOptional": false,
                      "description": "Generated login key. After deployment, reveal and copy this value to sign in once, then use Mobile pairing for iPhone.",
                      "defaultValue": "{{SOULACY_SERVER_API_KEY}}"
                    },
                    "SOULACY_AUTH_JWT_SECRET": {
                      "isOptional": false,
                      "description": "Generated internal JWT signing secret. Do not use this value as the gateway login key.",
                      "defaultValue": "{{SOULACY_AUTH_JWT_SECRET}}"
                    },
                    "SOULACY_DEPLOYMENT_PROFILE": {
                      "isOptional": false,
                      "description": "Enables secure defaults for a personal self-hosted Soulacy workspace.",
                      "defaultValue": "personal"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "13754c31-3a7f-467f-af18-2243b0cc3fcd": {
                      "mountPath": "/home/soulacy/.soulacy"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "soulacy-personal",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-12T04:14:32.537Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-12T04:00:57.357Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_a8468ce4331b48ea9efb",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 138,
    "typical_build_seconds": 111,
    "typical_start_seconds": 10,
    "slowest_service": "soulacy-personal"
  }
}
