{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4ba2d72f-0bed-4c28-b8cf-1433c84b19ea",
    "slug": "llm-wiki",
    "name": "LLM Wiki",
    "description": "Karpathy's LLM wiki, self-hosted: Claude builds your wiki over MCP",
    "url": "https://railway.com/deploy/llm-wiki",
    "upstream": {
      "image": "ghcr.io/youssefsiam38/llmwiki-railway-api:1.0.1"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "api",
      "source": {
        "image": "ghcr.io/youssefsiam38/llmwiki-railway-api:1.0.1"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "storage",
      "source": {
        "image": "ghcr.io/youssefsiam38/llmwiki-railway-storage:1.0.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "name": "kong",
      "source": {
        "image": "ghcr.io/youssefsiam38/llmwiki-railway-kong:1.0.1"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "web",
      "source": {
        "image": "ghcr.io/youssefsiam38/llmwiki-railway-web:1.0.1"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "db",
      "source": {
        "image": "ghcr.io/youssefsiam38/llmwiki-railway-db:1.0.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "converter",
      "source": {
        "image": "ghcr.io/youssefsiam38/llmwiki-railway-converter:1.0.1"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "auth",
      "source": {
        "image": "ghcr.io/youssefsiam38/llmwiki-railway-auth:1.0.1"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "mcp",
      "source": {
        "image": "ghcr.io/youssefsiam38/llmwiki-railway-mcp:1.0.1"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "api",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "API_URL",
      "service": "api",
      "description": "Provide a value for API_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "APP_URL",
      "service": "api",
      "description": "Provide a value for APP_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "S3_BUCKET",
      "service": "api",
      "description": "Provide a value for S3_BUCKET.",
      "secret": false,
      "strategy": "default",
      "default": "llmwiki-documents"
    },
    {
      "key": "JWT_SECRET",
      "service": "api",
      "description": "Provide a value for JWT_SECRET.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OWNER_EMAIL",
      "service": "api",
      "description": "Your e-mail address. It becomes the owner account you sign in with.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DATABASE_URL",
      "service": "api",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SUPABASE_URL",
      "service": "api",
      "description": "Provide a value for SUPABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "CONVERTER_URL",
      "service": "api",
      "description": "Provide a value for CONVERTER_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "OWNER_PASSWORD",
      "service": "api",
      "description": "The owner's first password, generated. Copy it from here to sign in.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "CONVERTER_SECRET",
      "service": "api",
      "description": "Provide a value for CONVERTER_SECRET.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "api",
      "description": "Provide a value for AWS_ACCESS_KEY_ID.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_ENDPOINT_URL_S3",
      "service": "api",
      "description": "Provide a value for AWS_ENDPOINT_URL_S3.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "LLMWIKI_SIGNUP_MODE",
      "service": "api",
      "description": "closed admits only the owner and LLMWIKI_ALLOWED_SIGNUPS; open lets anyone sign up.",
      "secret": false,
      "strategy": "default",
      "default": "closed"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "api",
      "description": "Provide a value for AWS_SECRET_ACCESS_KEY.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPABASE_INTERNAL_URL",
      "service": "api",
      "description": "Provide a value for SUPABASE_INTERNAL_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "LLMWIKI_S3_PUBLIC_ENDPOINT",
      "service": "api",
      "description": "Provide a value for LLMWIKI_S3_PUBLIC_ENDPOINT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RAILWAY_HEALTHCHECK_TIMEOUT_SEC",
      "service": "api",
      "description": "The first start applies the database migrations before the API listens.",
      "secret": false,
      "strategy": "default",
      "default": "600"
    },
    {
      "key": "PORT",
      "service": "storage",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "RUSTFS_ACCESS_KEY",
      "service": "storage",
      "description": "S3 access key for the document store, generated.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RUSTFS_SECRET_KEY",
      "service": "storage",
      "description": "S3 secret key for the document store, generated.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "PORT",
      "service": "kong",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "AUTH_HOST",
      "service": "kong",
      "description": "Provide a value for AUTH_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "JWT_SECRET",
      "service": "kong",
      "description": "Provide a value for JWT_SECRET.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "web",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "JWT_SECRET",
      "service": "web",
      "description": "Provide a value for JWT_SECRET.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "NEXT_PUBLIC_API_URL",
      "service": "web",
      "description": "Provide a value for NEXT_PUBLIC_API_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NEXT_PUBLIC_MCP_URL",
      "service": "web",
      "description": "Provide a value for NEXT_PUBLIC_MCP_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NEXT_PUBLIC_SUPABASE_URL",
      "service": "web",
      "description": "Provide a value for NEXT_PUBLIC_SUPABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "db",
      "description": "Password of the Supabase database roles, generated.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "converter",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "S3_BUCKET",
      "service": "converter",
      "description": "Provide a value for S3_BUCKET.",
      "secret": false,
      "strategy": "default",
      "default": "llmwiki-documents"
    },
    {
      "key": "CONVERTER_SECRET",
      "service": "converter",
      "description": "Shared secret between the API and the document converter, generated.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "LLMWIKI_S3_ENDPOINT",
      "service": "converter",
      "description": "Provide a value for LLMWIKI_S3_ENDPOINT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PORT",
      "service": "auth",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "9999"
    },
    {
      "key": "APP_URL",
      "service": "auth",
      "description": "Provide a value for APP_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "JWT_SECRET",
      "service": "auth",
      "description": "Signs the Supabase API keys, generated.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SUPABASE_PUBLIC_URL",
      "service": "auth",
      "description": "Provide a value for SUPABASE_PUBLIC_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "GOTRUE_DB_DATABASE_URL",
      "service": "auth",
      "description": "Provide a value for GOTRUE_DB_DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "LLMWIKI_SIGNING_KEY_SEED",
      "service": "auth",
      "description": "Seed of the ES256 key that signs sessions and MCP tokens, generated. Changing it signs everyone out.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "GOTRUE_PASSWORD_MIN_LENGTH",
      "service": "auth",
      "description": "Provide a value for GOTRUE_PASSWORD_MIN_LENGTH.",
      "secret": true,
      "strategy": "default",
      "default": "10"
    },
    {
      "key": "GOTRUE_MAILER_URLPATHS_INVITE",
      "service": "auth",
      "description": "Provide a value for GOTRUE_MAILER_URLPATHS_INVITE.",
      "secret": false,
      "strategy": "default",
      "default": "/auth/v1/verify"
    },
    {
      "key": "GOTRUE_MAILER_URLPATHS_RECOVERY",
      "service": "auth",
      "description": "Provide a value for GOTRUE_MAILER_URLPATHS_RECOVERY.",
      "secret": false,
      "strategy": "default",
      "default": "/auth/v1/verify"
    },
    {
      "key": "GOTRUE_MAILER_URLPATHS_CONFIRMATION",
      "service": "auth",
      "description": "Provide a value for GOTRUE_MAILER_URLPATHS_CONFIRMATION.",
      "secret": false,
      "strategy": "default",
      "default": "/auth/v1/verify"
    },
    {
      "key": "GOTRUE_MAILER_URLPATHS_EMAIL_CHANGE",
      "service": "auth",
      "description": "Provide a value for GOTRUE_MAILER_URLPATHS_EMAIL_CHANGE.",
      "secret": false,
      "strategy": "default",
      "default": "/auth/v1/verify"
    },
    {
      "key": "PORT",
      "service": "mcp",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "API_URL",
      "service": "mcp",
      "description": "Provide a value for API_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "APP_URL",
      "service": "mcp",
      "description": "Provide a value for APP_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MCP_URL",
      "service": "mcp",
      "description": "Provide a value for MCP_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "S3_BUCKET",
      "service": "mcp",
      "description": "Provide a value for S3_BUCKET.",
      "secret": false,
      "strategy": "default",
      "default": "llmwiki-documents"
    },
    {
      "key": "DATABASE_URL",
      "service": "mcp",
      "description": "Provide a value for DATABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SUPABASE_URL",
      "service": "mcp",
      "description": "Provide a value for SUPABASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "mcp",
      "description": "Provide a value for AWS_ACCESS_KEY_ID.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_ENDPOINT_URL_S3",
      "service": "mcp",
      "description": "Provide a value for AWS_ENDPOINT_URL_S3.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "mcp",
      "description": "Provide a value for AWS_SECRET_ACCESS_KEY.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "llm-wiki"
      }
    },
    "cli": "railway deploy --template llm-wiki",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4ba2d72f-0bed-4c28-b8cf-1433c84b19ea",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "48a87d6a-ba61-470f-b93c-2fef6a695695": {
                  "icon": null,
                  "name": "api",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/llmwiki-railway-api:1.0.1"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8000"
                    },
                    "API_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{api.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "APP_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{web.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "S3_BUCKET": {
                      "isOptional": false,
                      "defaultValue": "llmwiki-documents"
                    },
                    "JWT_SECRET": {
                      "isOptional": false,
                      "defaultValue": "${{auth.JWT_SECRET}}"
                    },
                    "OWNER_EMAIL": {
                      "isOptional": false,
                      "description": "Your e-mail address. It becomes the owner account you sign in with.",
                      "defaultValue": "{{OWNER_EMAIL}}"
                    },
                    "PDF_BACKEND": {
                      "isOptional": true,
                      "description": "opendataloader (default, runs in the converter) or mistral."
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "postgresql://postgres:${{db.POSTGRES_PASSWORD}}@${{db.RAILWAY_PRIVATE_DOMAIN}}:5432/postgres"
                    },
                    "SUPABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{kong.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "CONVERTER_URL": {
                      "isOptional": false,
                      "defaultValue": "http://${{converter.RAILWAY_PRIVATE_DOMAIN}}:8000"
                    },
                    "OWNER_PASSWORD": {
                      "isOptional": false,
                      "description": "The owner's first password, generated. Copy it from here to sign in.",
                      "defaultValue": "{{OWNER_PASSWORD}}"
                    },
                    "MISTRAL_API_KEY": {
                      "isOptional": true,
                      "description": "Mistral key for higher-quality PDF OCR; also set PDF_BACKEND=mistral."
                    },
                    "CONVERTER_SECRET": {
                      "isOptional": false,
                      "defaultValue": "${{converter.CONVERTER_SECRET}}"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "defaultValue": "${{storage.RUSTFS_ACCESS_KEY}}"
                    },
                    "LLMWIKI_PAGE_LIMIT": {
                      "isOptional": true,
                      "description": "Document pages each account may store (default 100000)."
                    },
                    "AWS_ENDPOINT_URL_S3": {
                      "isOptional": false,
                      "defaultValue": "http://${{storage.RAILWAY_PRIVATE_DOMAIN}}:9000"
                    },
                    "LLMWIKI_SIGNUP_MODE": {
                      "isOptional": false,
                      "description": "closed admits only the owner and LLMWIKI_ALLOWED_SIGNUPS; open lets anyone sign up.",
                      "defaultValue": "closed"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "defaultValue": "${{storage.RUSTFS_SECRET_KEY}}"
                    },
                    "SUPABASE_INTERNAL_URL": {
                      "isOptional": false,
                      "defaultValue": "http://${{kong.RAILWAY_PRIVATE_DOMAIN}}:8000"
                    },
                    "LLMWIKI_ALLOWED_SIGNUPS": {
                      "isOptional": true,
                      "description": "Comma-separated e-mail addresses and @domain entries that may create accounts."
                    },
                    "LLMWIKI_S3_PUBLIC_ENDPOINT": {
                      "isOptional": false,
                      "defaultValue": "https://${{storage.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "LLMWIKI_STORAGE_LIMIT_BYTES": {
                      "isOptional": true,
                      "description": "Bytes of uploads each account may store (default 10 GiB)."
                    },
                    "RAILWAY_HEALTHCHECK_TIMEOUT_SEC": {
                      "isOptional": false,
                      "description": "The first start applies the database migrations before the API listens.",
                      "defaultValue": "600"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  }
                },
                "75ab0736-ccd7-4467-958a-a738b85cb9d8": {
                  "icon": null,
                  "name": "storage",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/llmwiki-railway-storage:1.0.1"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "9000"
                    },
                    "RUSTFS_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "S3 access key for the document store, generated.",
                      "defaultValue": "{{RUSTFS_ACCESS_KEY}}"
                    },
                    "RUSTFS_SECRET_KEY": {
                      "isOptional": false,
                      "description": "S3 secret key for the document store, generated.",
                      "defaultValue": "{{RUSTFS_SECRET_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:9000": {
                        "port": 9000
                      }
                    }
                  },
                  "volumeMounts": {
                    "75ab0736-ccd7-4467-958a-a738b85cb9d8": {
                      "mountPath": "/data"
                    }
                  }
                },
                "8b849d06-ddcb-41d5-a124-3525d93ac57e": {
                  "icon": null,
                  "name": "kong",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/llmwiki-railway-kong:1.0.1"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8000"
                    },
                    "AUTH_HOST": {
                      "isOptional": false,
                      "defaultValue": "${{auth.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "JWT_SECRET": {
                      "isOptional": false,
                      "defaultValue": "${{auth.JWT_SECRET}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  }
                },
                "9ff01a51-cb14-4ac9-b18d-5a8cd0a589e4": {
                  "icon": null,
                  "name": "web",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/login",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/llmwiki-railway-web:1.0.1"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "3000"
                    },
                    "JWT_SECRET": {
                      "isOptional": false,
                      "defaultValue": "${{auth.JWT_SECRET}}"
                    },
                    "NEXT_PUBLIC_API_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{api.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "NEXT_PUBLIC_MCP_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{mcp.RAILWAY_PUBLIC_DOMAIN}}/mcp"
                    },
                    "NEXT_PUBLIC_SUPABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{kong.RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                },
                "c0240870-f005-44b9-a10b-2d8bc641829a": {
                  "icon": null,
                  "name": "db",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/llmwiki-railway-db:1.0.1"
                  },
                  "variables": {
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Password of the Supabase database roles, generated.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "c0240870-f005-44b9-a10b-2d8bc641829a": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "cc8512a5-f896-477f-a002-5a55fd465d1c": {
                  "icon": null,
                  "name": "converter",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/llmwiki-railway-converter:1.0.1"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8000"
                    },
                    "S3_BUCKET": {
                      "isOptional": false,
                      "defaultValue": "llmwiki-documents"
                    },
                    "CONVERTER_SECRET": {
                      "isOptional": false,
                      "description": "Shared secret between the API and the document converter, generated.",
                      "defaultValue": "{{CONVERTER_SECRET}}"
                    },
                    "LLMWIKI_S3_ENDPOINT": {
                      "isOptional": false,
                      "defaultValue": "https://${{storage.RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  }
                },
                "d5628e54-510b-48f9-8737-852902fa787b": {
                  "icon": null,
                  "name": "auth",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/llmwiki-railway-auth:1.0.1"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "9999"
                    },
                    "APP_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{web.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "JWT_SECRET": {
                      "isOptional": false,
                      "description": "Signs the Supabase API keys, generated.",
                      "defaultValue": "{{JWT_SECRET}}"
                    },
                    "GOTRUE_SMTP_HOST": {
                      "isOptional": true,
                      "description": "SMTP host for password-reset e-mails."
                    },
                    "GOTRUE_SMTP_PASS": {
                      "isOptional": true,
                      "description": "SMTP password."
                    },
                    "GOTRUE_SMTP_PORT": {
                      "isOptional": true,
                      "description": "SMTP port."
                    },
                    "GOTRUE_SMTP_USER": {
                      "isOptional": true,
                      "description": "SMTP user."
                    },
                    "SUPABASE_PUBLIC_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{kong.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "GOTRUE_DB_DATABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "postgres://supabase_auth_admin:${{db.POSTGRES_PASSWORD}}@${{db.RAILWAY_PRIVATE_DOMAIN}}:5432/postgres"
                    },
                    "GOTRUE_SMTP_ADMIN_EMAIL": {
                      "isOptional": true,
                      "description": "Sender address for account e-mails."
                    },
                    "LLMWIKI_SIGNING_KEY_SEED": {
                      "isOptional": false,
                      "description": "Seed of the ES256 key that signs sessions and MCP tokens, generated. Changing it signs everyone out.",
                      "defaultValue": "{{LLMWIKI_SIGNING_KEY_SEED}}"
                    },
                    "GOTRUE_PASSWORD_MIN_LENGTH": {
                      "isOptional": false,
                      "defaultValue": "10"
                    },
                    "GOTRUE_EXTERNAL_GOOGLE_SECRET": {
                      "isOptional": true,
                      "description": "Google OAuth client secret."
                    },
                    "GOTRUE_MAILER_URLPATHS_INVITE": {
                      "isOptional": false,
                      "defaultValue": "/auth/v1/verify"
                    },
                    "GOTRUE_EXTERNAL_GOOGLE_ENABLED": {
                      "isOptional": true,
                      "description": "true to enable the Sign in with Google button."
                    },
                    "GOTRUE_MAILER_URLPATHS_RECOVERY": {
                      "isOptional": false,
                      "defaultValue": "/auth/v1/verify"
                    },
                    "GOTRUE_EXTERNAL_GOOGLE_CLIENT_ID": {
                      "isOptional": true,
                      "description": "Google OAuth client id."
                    },
                    "GOTRUE_EXTERNAL_GOOGLE_REDIRECT_URI": {
                      "isOptional": true,
                      "description": "Set to https://KONG-DOMAIN/auth/v1/callback, using the kong service's public domain."
                    },
                    "GOTRUE_MAILER_URLPATHS_CONFIRMATION": {
                      "isOptional": false,
                      "defaultValue": "/auth/v1/verify"
                    },
                    "GOTRUE_MAILER_URLPATHS_EMAIL_CHANGE": {
                      "isOptional": false,
                      "defaultValue": "/auth/v1/verify"
                    }
                  }
                },
                "ffc8f825-8d50-47f7-8e1c-ca6bbf31a07e": {
                  "icon": null,
                  "name": "mcp",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/youssefsiam38/llmwiki-railway-mcp:1.0.1"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "8080"
                    },
                    "API_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{api.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "APP_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{web.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MCP_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{mcp.RAILWAY_PUBLIC_DOMAIN}}/mcp"
                    },
                    "S3_BUCKET": {
                      "isOptional": false,
                      "defaultValue": "llmwiki-documents"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "postgresql://postgres:${{db.POSTGRES_PASSWORD}}@${{db.RAILWAY_PRIVATE_DOMAIN}}:5432/postgres"
                    },
                    "SUPABASE_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{kong.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "defaultValue": "${{storage.RUSTFS_ACCESS_KEY}}"
                    },
                    "AWS_ENDPOINT_URL_S3": {
                      "isOptional": false,
                      "defaultValue": "http://${{storage.RAILWAY_PRIVATE_DOMAIN}}:9000"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "defaultValue": "${{storage.RUSTFS_SECRET_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "api",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 8,
    "needs_volume": true
  },
  "generated_at": "2026-09-16T16:14:44.185Z",
  "generator_version": "0.1.0"
}
