{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d823e287-2ba1-43da-a6a1-ed9ed46e0960",
    "slug": "peek",
    "name": "peek",
    "description": "Self-hosted public URLs for localhost.",
    "url": "https://railway.com/deploy/peek",
    "upstream": {
      "image": "ghcr.io/sasicodes/peek:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "peek:latest",
      "source": {
        "image": "ghcr.io/sasicodes/peek:latest"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PEEK_DOMAIN",
      "service": "peek:latest",
      "description": "Public domain for this peek relay, without https://. Example: peek.example.com. Public tunnel URLs will be created as https://{subdomain}.PEEK_DOMAIN.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "PEEK_AUTH_TOKEN",
      "service": "peek:latest",
      "description": "Secret token required by the peek CLI to create tunnels on this relay. Use the same value when running: peek localhost:3000 --domain PEEK_DOMAIN --token PEEK_AUTH_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "peek"
      }
    },
    "cli": "railway deploy --template peek",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d823e287-2ba1-43da-a6a1-ed9ed46e0960",
            "serializedConfig": {
              "services": {
                "cef525f7-ce15-4296-85f0-116bebcf3514": {
                  "icon": "https://devicons.railway.app/relay",
                  "name": "peek:latest",
                  "source": {
                    "image": "ghcr.io/sasicodes/peek:latest",
                    "autoUpdates": {
                      "type": "patch",
                      "schedule": [
                        {
                          "day": 0,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 1,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 2,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 3,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 4,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 5,
                          "endHour": 6,
                          "startHour": 2
                        },
                        {
                          "day": 6,
                          "endHour": 6,
                          "startHour": 2
                        }
                      ]
                    }
                  },
                  "variables": {
                    "PEEK_DOMAIN": {
                      "isOptional": false,
                      "description": "Public domain for this peek relay, without https://. Example: peek.example.com. Public tunnel URLs will be created as https://{subdomain}.PEEK_DOMAIN.",
                      "defaultValue": "{{PEEK_DOMAIN}}"
                    },
                    "PEEK_AUTH_TOKEN": {
                      "isOptional": false,
                      "description": "Secret token required by the peek CLI to create tunnels on this relay. Use the same value when running: peek localhost:3000 --domain PEEK_DOMAIN --token PEEK_AUTH_TOKEN.",
                      "defaultValue": "{{PEEK_AUTH_TOKEN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0"
}
