{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3aac3ec6-f05f-4343-80e6-3ff39033340f",
    "slug": "job-ops",
    "name": "Job Ops",
    "description": "Deploy and Host Job Ops with Railway",
    "url": "https://railway.com/deploy/job-ops",
    "upstream": {
      "repo_url": "https://github.com/FournyP/job-ops-railway-template"
    }
  },
  "services": [
    {
      "name": "Job Ops",
      "source": {
        "repo": "https://github.com/FournyP/job-ops-railway-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Job Ops",
      "description": "Listen port. Must match the domain's target port.",
      "secret": false,
      "strategy": "default",
      "default": "3001"
    },
    {
      "key": "MODEL",
      "service": "Job Ops",
      "description": "Model name sent to that provider.",
      "secret": false,
      "strategy": "default",
      "default": "google/gemini-3-flash-preview"
    },
    {
      "key": "DATA_DIR",
      "service": "Job Ops",
      "description": "Where jobs.db and the generated PDFs live. Must be the volume's mount path.",
      "secret": false,
      "strategy": "default",
      "default": "/app/data"
    },
    {
      "key": "CODEX_HOME",
      "service": "Job Ops",
      "description": "Codex CLI login directory, kept on the volume so the login survives redeploys.",
      "secret": false,
      "strategy": "default",
      "default": "/app/data/codex-home"
    },
    {
      "key": "XDG_CACHE_HOME",
      "service": "Job Ops",
      "description": "Cache directory, kept on the volume so the LaTeX bundle is not re-downloaded on every deploy.",
      "secret": false,
      "strategy": "default",
      "default": "/app/data/cache"
    },
    {
      "key": "JOBOPS_PUBLIC_BASE_URL",
      "service": "Job Ops",
      "description": "Public URL used in links generated by background jobs.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "job-ops"
      }
    },
    "cli": "railway deploy --template job-ops",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3aac3ec6-f05f-4343-80e6-3ff39033340f",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "addb7682-6f17-43e2-9e56-b64d77ed5fba": {
                  "icon": "https://raw.githubusercontent.com/FournyP/job-ops-railway-template/main/icon.svg",
                  "name": "Job Ops",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "repo": "FournyP/job-ops-railway-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Listen port. Must match the domain's target port.",
                      "defaultValue": "3001"
                    },
                    "MODEL": {
                      "isOptional": true,
                      "description": "Model name sent to that provider.",
                      "defaultValue": "google/gemini-3-flash-preview"
                    },
                    "DATA_DIR": {
                      "isOptional": true,
                      "description": "Where jobs.db and the generated PDFs live. Must be the volume's mount path.",
                      "defaultValue": "/app/data"
                    },
                    "CODEX_HOME": {
                      "isOptional": true,
                      "description": "Codex CLI login directory, kept on the volume so the login survives redeploys.",
                      "defaultValue": "/app/data/codex-home"
                    },
                    "APIFY_TOKEN": {
                      "isOptional": true,
                      "description": "Apify token for the Seek extractor.",
                      "defaultValue": ""
                    },
                    "LLM_API_KEY": {
                      "isOptional": true,
                      "description": "Key for the chosen API provider.",
                      "defaultValue": ""
                    },
                    "LLM_PROVIDER": {
                      "isOptional": true,
                      "description": "atlascloud, openrouter, orcarouter, requesty, openai, gemini, gemini_cli, claude_cli or codex. The CLI providers log in from the UI.",
                      "defaultValue": ""
                    },
                    "RXRESUME_URL": {
                      "isOptional": true,
                      "description": "Base URL of a self-hosted Reactive Resume. Empty uses the hosted service.",
                      "defaultValue": ""
                    },
                    "ADZUNA_APP_ID": {
                      "isOptional": true,
                      "description": "Adzuna extractor credentials.",
                      "defaultValue": ""
                    },
                    "ADZUNA_APP_KEY": {
                      "isOptional": true,
                      "description": "Adzuna extractor credentials.",
                      "defaultValue": ""
                    },
                    "XDG_CACHE_HOME": {
                      "isOptional": true,
                      "description": "Cache directory, kept on the volume so the LaTeX bundle is not re-downloaded on every deploy.",
                      "defaultValue": "/app/data/cache"
                    },
                    "BASIC_AUTH_USER": {
                      "isOptional": true,
                      "description": "With BASIC_AUTH_PASSWORD, puts the app and API behind HTTP basic auth. Unset, the app is open.",
                      "defaultValue": ""
                    },
                    "RXRESUME_API_KEY": {
                      "isOptional": true,
                      "description": "Reactive Resume v5 API key, for CVs rendered by rxresu.me instead of locally.",
                      "defaultValue": ""
                    },
                    "UKVISAJOBS_EMAIL": {
                      "isOptional": true,
                      "description": "UKVisaJobs extractor credentials.",
                      "defaultValue": ""
                    },
                    "BASIC_AUTH_PASSWORD": {
                      "isOptional": true,
                      "description": "See BASIC_AUTH_USER.",
                      "defaultValue": ""
                    },
                    "UKVISAJOBS_PASSWORD": {
                      "isOptional": true,
                      "description": "UKVisaJobs extractor credentials.",
                      "defaultValue": ""
                    },
                    "GMAIL_OAUTH_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Gmail tracking integration.",
                      "defaultValue": ""
                    },
                    "JOBOPS_PUBLIC_BASE_URL": {
                      "isOptional": true,
                      "description": "Public URL used in links generated by background jobs.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "GMAIL_OAUTH_REDIRECT_URI": {
                      "isOptional": true,
                      "description": "Defaults to <request-origin>/oauth/gmail/callback.",
                      "defaultValue": ""
                    },
                    "GMAIL_OAUTH_CLIENT_SECRET": {
                      "isOptional": true,
                      "description": "Gmail tracking integration.",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3001": {
                        "port": 3001
                      }
                    }
                  },
                  "volumeMounts": {
                    "addb7682-6f17-43e2-9e56-b64d77ed5fba": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Job Ops",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-18T08:50:53.587Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_249b33dbbd0e47ee927d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ]
  }
}
