{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ccf59349-f3ac-42a8-96d0-dcb662490ffc",
    "slug": "Hh00T5",
    "name": "Faktory",
    "description": "Language-agnostic persistent background job server",
    "url": "https://railway.com/deploy/Hh00T5",
    "upstream": {
      "image": "contribsys/faktory"
    }
  },
  "services": [
    {
      "name": "Faktory",
      "source": {
        "image": "contribsys/faktory"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/faktory/db",
      "tcp_ports": [
        7419
      ],
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "FAKTORY_URL",
      "service": "Faktory",
      "description": "Public URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FAKTORY_HOST",
      "service": "Faktory",
      "description": "Public host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FAKTORY_PORT",
      "service": "Faktory",
      "description": "Public port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FAKTORY_PASSWORD",
      "service": "Faktory",
      "description": "Password for Faktory",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "FAKTORY_PRIVATE_URL",
      "service": "Faktory",
      "description": "Private URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FAKTORY_PRIVATE_HOST",
      "service": "Faktory",
      "description": "Private host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "FAKTORY_PRIVATE_PORT",
      "service": "Faktory",
      "description": "Private port",
      "secret": false,
      "strategy": "default",
      "default": "7419"
    },
    {
      "key": "FAKTORY_UI_PRIVATE_PORT",
      "service": "Faktory",
      "description": "UI private port",
      "secret": false,
      "strategy": "default",
      "default": "7420"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "Hh00T5"
      }
    },
    "cli": "railway deploy --template Hh00T5",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ccf59349-f3ac-42a8-96d0-dcb662490ffc",
            "serializedConfig": {
              "services": {
                "33500b69-5505-4fb1-b5c9-be5c4a5e5ef6": {
                  "icon": "https://res.cloudinary.com/h5kvzw/image/upload/v1705037875/faktory-logo_mgcbay.svg",
                  "name": "Faktory",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"exec /faktory -w [::]:${FAKTORY_UI_PRIVATE_PORT} -b [::]:${FAKTORY_PRIVATE_PORT}\""
                  },
                  "source": {
                    "image": "contribsys/faktory"
                  },
                  "variables": {
                    "FAKTORY_URL": {
                      "isOptional": false,
                      "description": "Public URL",
                      "defaultValue": "tcp://${{FAKTORY_HOST}}:${{FAKTORY_PORT}}"
                    },
                    "FAKTORY_HOST": {
                      "isOptional": false,
                      "description": "Public host",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_DOMAIN}}"
                    },
                    "FAKTORY_PORT": {
                      "isOptional": false,
                      "description": "Public port",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "FAKTORY_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for Faktory",
                      "defaultValue": "{{FAKTORY_PASSWORD}}"
                    },
                    "FAKTORY_PRIVATE_URL": {
                      "isOptional": false,
                      "description": "Private URL",
                      "defaultValue": "tcp://${{FAKTORY_PRIVATE_HOST}}:${{FAKTORY_PRIVATE_PORT}}"
                    },
                    "FAKTORY_PRIVATE_HOST": {
                      "isOptional": false,
                      "description": "Private host",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "FAKTORY_PRIVATE_PORT": {
                      "isOptional": false,
                      "description": "Private port",
                      "defaultValue": "7419"
                    },
                    "FAKTORY_UI_PRIVATE_PORT": {
                      "isOptional": false,
                      "description": "UI private port",
                      "defaultValue": "7420"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "7419": {}
                    },
                    "serviceDomains": {
                      "<hasDomain>:7420": {
                        "port": 7420
                      }
                    }
                  },
                  "volumeMounts": {
                    "33500b69-5505-4fb1-b5c9-be5c4a5e5ef6": {
                      "mountPath": "/var/lib/faktory/db"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T16:15:12.787Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T14:38:13.026Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_d4b8436b8df841d88b6a",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 56,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Faktory"
  }
}
