{
  "manifest_version": "1.0.0",
  "template": {
    "id": "f369cda8-72a4-434c-8816-8db47855fb8f",
    "slug": "dsh-coding-agent",
    "name": "DSH Coding Agent",
    "description": "Self-host DeepSeek Harness, DeepSeek's coding agent, behind a password",
    "url": "https://railway.com/deploy/dsh-coding-agent",
    "upstream": {
      "image": "ghcr.io/hmseeb/deepseek-harness-railway:0.1.0-rc.7-r8"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "dsh",
      "source": {
        "image": "ghcr.io/hmseeb/deepseek-harness-railway:0.1.0-rc.7-r8"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "dsh",
      "description": "Public port. Caddy listens here with basic auth and forwards to the harness on loopback.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "DSH_HOME",
      "service": "dsh",
      "description": "Harness home: sessions, settings and the credential store. On the volume.",
      "secret": false,
      "strategy": "default",
      "default": "/data/.dsh"
    },
    {
      "key": "DSH_WORKSPACE",
      "service": "dsh",
      "description": "Directory the agent works in. On the volume, so it survives redeploys.",
      "secret": false,
      "strategy": "default",
      "default": "/data/workspace"
    },
    {
      "key": "DSH_UI_USERNAME",
      "service": "dsh",
      "description": "Username you will log in with.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DSH_UI_USERPASS",
      "service": "dsh",
      "description": "Password you will log in with. This is the ONLY thing between the internet and an agent that can run shell commands on this container, so use a long, unique value.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "dsh-coding-agent"
      }
    },
    "cli": "railway deploy --template dsh-coding-agent",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "f369cda8-72a4-434c-8816-8db47855fb8f",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "7ae4c468-783f-4daf-900d-418ca9ca355c": {
                  "icon": "https://raw.githubusercontent.com/deepseek-ai/deepseek-harness/141eb6fef83422698aef7a981029e843e8161534/website/public/favicon.svg",
                  "name": "dsh",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/hmseeb/deepseek-harness-railway:0.1.0-rc.7-r8"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Public port. Caddy listens here with basic auth and forwards to the harness on loopback.",
                      "defaultValue": "8080"
                    },
                    "DSH_HOME": {
                      "isOptional": false,
                      "description": "Harness home: sessions, settings and the credential store. On the volume.",
                      "defaultValue": "/data/.dsh"
                    },
                    "DSH_WORKSPACE": {
                      "isOptional": false,
                      "description": "Directory the agent works in. On the volume, so it survives redeploys.",
                      "defaultValue": "/data/workspace"
                    },
                    "DSH_UI_USERNAME": {
                      "isOptional": false,
                      "description": "Username you will log in with.",
                      "defaultValue": "{{DSH_UI_USERNAME}}"
                    },
                    "DSH_UI_USERPASS": {
                      "isOptional": false,
                      "description": "Password you will log in with. This is the ONLY thing between the internet and an agent that can run shell commands on this container, so use a long, unique value.",
                      "defaultValue": "{{DSH_UI_USERPASS}}"
                    },
                    "DEEPSEEK_API_KEY": {
                      "isOptional": true,
                      "description": "Optional. Your key from platform.deepseek.com. Paste it here to have the agent ready on first load, or leave it blank and add it under Settings > Models once the app is up.",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "7ae4c468-783f-4daf-900d-418ca9ca355c": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "dsh",
      "method": "GET",
      "path": "/healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0"
}
