{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7c7bea38-7e2d-4cd0-8689-06e9fb1728ac",
    "slug": "bifrost-4",
    "name": "Bifrost",
    "description": "OpenAI-compatible AI gateway with failover, caching and a web UI",
    "url": "https://railway.com/deploy/bifrost-4",
    "upstream": {
      "image": "maximhq/bifrost:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Bifrost",
      "source": {
        "image": "maximhq/bifrost:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Bifrost",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "BIFROST_SETUP_TOKEN",
      "service": "Bifrost",
      "description": "Provide a value for BIFROST_SETUP_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "BIFROST_ENCRYPTION_KEY",
      "service": "Bifrost",
      "description": "Provide a value for BIFROST_ENCRYPTION_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "bifrost-4"
      }
    },
    "cli": "railway deploy --template bifrost-4",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7c7bea38-7e2d-4cd0-8689-06e9fb1728ac",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1677ce28-ebf3-46ab-8327-80ef08e3fc2f": {
                  "icon": null,
                  "name": "Bifrost",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "maximhq/bifrost:latest"
                  },
                  "variables": {
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "defaultValue": "${{randomInt(0, 0)}}"
                    },
                    "BIFROST_SETUP_TOKEN": {
                      "isOptional": false,
                      "defaultValue": "{{BIFROST_SETUP_TOKEN}}"
                    },
                    "BIFROST_ENCRYPTION_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{BIFROST_ENCRYPTION_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "1677ce28-ebf3-46ab-8327-80ef08e3fc2f": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Bifrost",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-26T22:14:46.852Z",
  "generator_version": "0.1.0"
}
