{
  "manifest_version": "1.0.0",
  "template": {
    "id": "aaaaa686-fab0-4803-848b-8868d1d39e39",
    "slug": "deepseek-harness",
    "name": "DeepSeek Harness | Coding Agent Web UI with Password Login",
    "description": "DeepSeek's coding agent in your browser, behind a login, with saved work.",
    "url": "https://railway.com/deploy/deepseek-harness",
    "upstream": {
      "repo_url": "https://github.com/two-workspaces/deepseek-harness"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "DeepSeek Harness",
      "source": {
        "repo": "https://github.com/two-workspaces/deepseek-harness"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "DeepSeek Harness",
      "description": "Port the login proxy listens on.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "WEB_USER",
      "service": "DeepSeek Harness",
      "description": "Username for the login page.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "WEB_PASSWORD",
      "service": "DeepSeek Harness",
      "description": "Password for the login page. The agent can run any command in this container, so keep it long.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "DeepSeek Harness",
      "description": "How long Railway waits for the service to come up before failing the deploy.",
      "secret": false,
      "strategy": "default",
      "default": "600"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "deepseek-harness"
      }
    },
    "cli": "railway deploy --template deepseek-harness",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "aaaaa686-fab0-4803-848b-8868d1d39e39",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "cd87a40b-f8a6-4a33-9b62-f6b797d064c4": {
                  "icon": "https://avatars.githubusercontent.com/u/148330874?s=60&v=4",
                  "name": "DeepSeek Harness",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/two-workspaces/deepseek-harness",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port the login proxy listens on.",
                      "defaultValue": "8080"
                    },
                    "GH_TOKEN": {
                      "isOptional": true,
                      "description": "GitHub token, for private repos and for pushing. The agent can read it, so use a fine-grained token limited to the repos it should touch.",
                      "defaultValue": ""
                    },
                    "WEB_USER": {
                      "isOptional": false,
                      "description": "Username for the login page.",
                      "defaultValue": "admin"
                    },
                    "WEB_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the login page. The agent can run any command in this container, so keep it long.",
                      "defaultValue": "{{WEB_PASSWORD}}"
                    },
                    "DEEPSEEK_API_KEY": {
                      "isOptional": true,
                      "description": "Your DeepSeek API key, from platform.deepseek.com. Leave empty to save it, or another provider's, in Settings > Models instead.",
                      "defaultValue": ""
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": true,
                      "description": "How long Railway waits for the service to come up before failing the deploy.",
                      "defaultValue": "600"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "d5bf93ca-3aa1-4b80-9e15-14595056e57b": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "DeepSeek Harness",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-11-07T16:15:10.050Z",
  "generator_version": "0.1.0"
}
