{
  "manifest_version": "1.0.0",
  "template": {
    "id": "61259d01-d031-4c2d-bb31-d2378505f458",
    "slug": "presenton-v093-or-ai-presentations-api-d",
    "name": "Presenton | (Just Updated) AI Presentations + API, Decks Survive Redeploy",
    "description": "AI slide decks plus an API; presentations survive every redeploy",
    "url": "https://railway.com/deploy/presenton-v093-or-ai-presentations-api-d",
    "upstream": {
      "image": "ghcr.io/presenton/presenton:v0.9.3-beta"
    }
  },
  "services": [
    {
      "name": "presenton",
      "source": {
        "image": "ghcr.io/presenton/presenton:v0.9.3-beta"
      },
      "needs_volume": true,
      "volume_mount_path": "/app_data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "AUTH_PASSWORD",
      "service": "presenton",
      "description": "Provide a value for AUTH_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "presenton-v093-or-ai-presentations-api-d"
      }
    },
    "cli": "railway deploy --template presenton-v093-or-ai-presentations-api-d",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "61259d01-d031-4c2d-bb31-d2378505f458",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "3f7779a5-c1b2-4d0b-958d-6fdbfc788a2f": {
                  "icon": null,
                  "name": "presenton",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'export AUTH_USERNAME=admin MIGRATE_DATABASE_ON_STARTUP=true DISABLE_ANONYMOUS_TRACKING=true; sed -i \"s/listen 80;/listen ${PORT:-8080};/\" /etc/nginx/nginx.conf && exec node /app/start.js'",
                    "healthcheckPath": "/api/v1/auth/status",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/presenton/presenton:v0.9.3-beta"
                  },
                  "variables": {
                    "AUTH_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{AUTH_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "3f7779a5-c1b2-4d0b-958d-6fdbfc788a2f": {
                      "mountPath": "/app_data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "presenton",
      "method": "GET",
      "path": "/api/v1/auth/status",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-19T04:14:37.968Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-17T11:26:41.077Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_51faf13492454b23aa62",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 92,
    "typical_build_seconds": 0,
    "typical_start_seconds": 40,
    "slowest_service": "presenton"
  }
}
