{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6270976a-e165-4611-ad38-6480428d523a",
    "slug": "noclick",
    "name": "NoClick",
    "description": "Agents for any background task, on your ChatGPT or Claude subscription.",
    "url": "https://railway.com/deploy/noclick",
    "upstream": {
      "image": "ghcr.io/noclickapp/noclick:latest"
    }
  },
  "services": [
    {
      "name": "noclick",
      "source": {
        "image": "ghcr.io/noclickapp/noclick:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/noclick",
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:16"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "JWT_SECRET",
      "service": "noclick",
      "description": "Provide a value for JWT_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "POSTGRES_URL",
      "service": "noclick",
      "description": "Provide a value for POSTGRES_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SESSION_SECRET",
      "service": "noclick",
      "description": "Provide a value for SESSION_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "WORKFLOW_JWT_SECRET",
      "service": "noclick",
      "description": "Provide a value for WORKFLOW_JWT_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CRON_SCHEDULER_SECRET",
      "service": "noclick",
      "description": "Provide a value for CRON_SCHEDULER_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CREDENTIALS_ENCRYPTION_KEY",
      "service": "noclick",
      "description": "Provide a value for CREDENTIALS_ENCRYPTION_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Provide a value for PGDATA.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Provide a value for PGHOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Provide a value for PGPASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Provide a value for POSTGRES_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "noclick"
      }
    },
    "cli": "railway deploy --template noclick",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6270976a-e165-4611-ad38-6480428d523a",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "a2dbc571-b3ba-4550-b195-9c8f4976ebbd": {
                  "icon": "https://raw.githubusercontent.com/noclickapp/noclick/main/frontend/public/icon-512-rounded.png",
                  "name": "noclick",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/noclickapp/noclick:latest"
                  },
                  "variables": {
                    "JWT_SECRET": {
                      "isOptional": false,
                      "defaultValue": "{{JWT_SECRET}}"
                    },
                    "POSTGRES_URL": {
                      "isOptional": false,
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "SESSION_SECRET": {
                      "isOptional": false,
                      "defaultValue": "{{SESSION_SECRET}}"
                    },
                    "WORKFLOW_JWT_SECRET": {
                      "isOptional": false,
                      "defaultValue": "{{WORKFLOW_JWT_SECRET}}"
                    },
                    "CRON_SCHEDULER_SECRET": {
                      "isOptional": false,
                      "defaultValue": "{{CRON_SCHEDULER_SECRET}}"
                    },
                    "CREDENTIALS_ENCRYPTION_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{CREDENTIALS_ENCRYPTION_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "a2dbc571-b3ba-4550-b195-9c8f4976ebbd": {
                      "mountPath": "/var/lib/noclick"
                    }
                  }
                },
                "b6efa723-3c2f-45c4-ba98-4e7560e7bb06": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:16"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_VOLUME_MOUNT_PATH}}/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "postgresql://postgres:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/postgres"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "b6efa723-3c2f-45c4-ba98-4e7560e7bb06": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "noclick",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-19T12:14:16.596Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_0e9546abd38340ed8514",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED,SUCCESS"
      }
    ]
  }
}
