{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b9671f6e-203d-483d-ad71-e0a67d6aa560",
    "slug": "onyx-ai",
    "name": "Onyx",
    "description": "AI chat and search over your company's documents and tools",
    "url": "https://railway.com/deploy/onyx-ai",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/onyx-railway"
    }
  },
  "services": [
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "onyx-worker",
      "source": {
        "repo": "https://github.com/gridalpha/onyx-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "onyx-web",
      "source": {
        "repo": "https://github.com/gridalpha/onyx-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "onyx-api",
      "source": {
        "repo": "https://github.com/gridalpha/onyx-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "onyx-indexing-model",
      "source": {
        "repo": "https://github.com/gridalpha/onyx-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "onyx-inference-model",
      "source": {
        "repo": "https://github.com/gridalpha/onyx-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "onyx-proxy",
      "source": {
        "repo": "https://github.com/gridalpha/onyx-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "onyx-opensearch",
      "source": {
        "repo": "https://github.com/gridalpha/onyx-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/usr/share/opensearch/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Cluster location on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry in days",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Superuser password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Clean shutdown window",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "onyx-worker",
      "description": "Worker health endpoint port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "AUTH_TYPE",
      "service": "onyx-worker",
      "description": "Email and password sign-in",
      "secret": false,
      "strategy": "default",
      "default": "basic"
    },
    {
      "key": "LOG_LEVEL",
      "service": "onyx-worker",
      "description": "Log verbosity across all workers",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "REDIS_HOST",
      "service": "onyx-worker",
      "description": "Private Redis hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PORT",
      "service": "onyx-worker",
      "description": "Redis port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WEB_DOMAIN",
      "service": "onyx-worker",
      "description": "Public base URL for links",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "POSTGRES_DB",
      "service": "onyx-worker",
      "description": "Postgres database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_HOST",
      "service": "onyx-worker",
      "description": "Private Postgres hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_PORT",
      "service": "onyx-worker",
      "description": "Postgres port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "POSTGRES_USER",
      "service": "onyx-worker",
      "description": "Postgres role",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_VERIFY_SSL",
      "service": "onyx-worker",
      "description": "Verify the bucket TLS certificate",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ONYX_IMAGE_TAG",
      "service": "onyx-worker",
      "description": "Onyx version, same on all services",
      "secret": false,
      "strategy": "default",
      "default": "v4.6.5"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "onyx-worker",
      "description": "Redis auth password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "API_SERVER_HOST",
      "service": "onyx-worker",
      "description": "Private API server hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "API_SERVER_PORT",
      "service": "onyx-worker",
      "description": "API server port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "AWS_REGION_NAME",
      "service": "onyx-worker",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENSEARCH_HOST",
      "service": "onyx-worker",
      "description": "Private OpenSearch hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "S3_ENDPOINT_URL",
      "service": "onyx-worker",
      "description": "Bucket endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "USER_AUTH_SECRET",
      "service": "onyx-worker",
      "description": "Must match the API server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DISABLE_TELEMETRY",
      "service": "onyx-worker",
      "description": "Do not send usage telemetry",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "MODEL_SERVER_HOST",
      "service": "onyx-worker",
      "description": "Query-time embedding server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MODEL_SERVER_PORT",
      "service": "onyx-worker",
      "description": "Model server port",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "onyx-worker",
      "description": "Postgres password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FILE_STORE_BACKEND",
      "service": "onyx-worker",
      "description": "Store uploads in object storage",
      "secret": false,
      "strategy": "default",
      "default": "s3"
    },
    {
      "key": "API_SERVER_PROTOCOL",
      "service": "onyx-worker",
      "description": "Scheme used to reach the API server",
      "secret": false,
      "strategy": "default",
      "default": "http"
    },
    {
      "key": "S3_AWS_ACCESS_KEY_ID",
      "service": "onyx-worker",
      "description": "Bucket access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENCRYPTION_KEY_SECRET",
      "service": "onyx-worker",
      "description": "Must match the API server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENSEARCH_REST_API_PORT",
      "service": "onyx-worker",
      "description": "OpenSearch REST port",
      "secret": false,
      "strategy": "default",
      "default": "9200"
    },
    {
      "key": "S3_AWS_SECRET_ACCESS_KEY",
      "service": "onyx-worker",
      "description": "Bucket secret key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENSEARCH_ADMIN_PASSWORD",
      "service": "onyx-worker",
      "description": "OpenSearch admin password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_FILE_STORE_BUCKET_NAME",
      "service": "onyx-worker",
      "description": "Bucket name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "INDEXING_MODEL_SERVER_HOST",
      "service": "onyx-worker",
      "description": "Indexing embedding server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "CELERY_WORKER_LIGHT_CONCURRENCY",
      "service": "onyx-worker",
      "description": "Parallel sync and cleanup jobs",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "ENABLE_OPENSEARCH_RETRIEVAL_FOR_ONYX",
      "service": "onyx-worker",
      "description": "Required or searches return nothing",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "CELERY_WORKER_DOCFETCHING_CONCURRENCY",
      "service": "onyx-worker",
      "description": "Parallel connector fetches",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "CELERY_WORKER_DOCPROCESSING_CONCURRENCY",
      "service": "onyx-worker",
      "description": "Parallel chunk and embed jobs",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "ENABLE_PAID_ENTERPRISE_EDITION_FEATURES",
      "service": "onyx-worker",
      "description": "Community Edition behaviour",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Auth password, read by the server",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "onyx-web",
      "description": "Next.js listening port",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "HOSTNAME",
      "service": "onyx-web",
      "description": "Dual-stack bind for private networking",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "WEB_DOMAIN",
      "service": "onyx-web",
      "description": "Public base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "INTERNAL_URL",
      "service": "onyx-web",
      "description": "Server-side API base URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "NODE_OPTIONS",
      "service": "onyx-web",
      "description": "Node heap ceiling",
      "secret": false,
      "strategy": "default",
      "default": "--max-old-space-size=2048"
    },
    {
      "key": "ONYX_IMAGE_TAG",
      "service": "onyx-web",
      "description": "Onyx version, same on all services",
      "secret": false,
      "strategy": "default",
      "default": "v4.6.5"
    },
    {
      "key": "PORT",
      "service": "onyx-api",
      "description": "API listening port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "AUTH_TYPE",
      "service": "onyx-api",
      "description": "Email and password sign-in",
      "secret": false,
      "strategy": "default",
      "default": "basic"
    },
    {
      "key": "LOG_LEVEL",
      "service": "onyx-api",
      "description": "Log verbosity across all processes",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "REDIS_HOST",
      "service": "onyx-api",
      "description": "Private Redis hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PORT",
      "service": "onyx-api",
      "description": "Redis port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "WEB_DOMAIN",
      "service": "onyx-api",
      "description": "Public base URL for redirects",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "POSTGRES_DB",
      "service": "onyx-api",
      "description": "Postgres database name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_HOST",
      "service": "onyx-api",
      "description": "Private Postgres hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_PORT",
      "service": "onyx-api",
      "description": "Postgres port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "POSTGRES_USER",
      "service": "onyx-api",
      "description": "Postgres role",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_VERIFY_SSL",
      "service": "onyx-api",
      "description": "Verify the bucket TLS certificate",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ONYX_IMAGE_TAG",
      "service": "onyx-api",
      "description": "Onyx version, same on all services",
      "secret": false,
      "strategy": "default",
      "default": "v4.6.5"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "onyx-api",
      "description": "Redis auth password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AWS_REGION_NAME",
      "service": "onyx-api",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENSEARCH_HOST",
      "service": "onyx-api",
      "description": "Private OpenSearch hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "S3_ENDPOINT_URL",
      "service": "onyx-api",
      "description": "Bucket endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "USER_AUTH_SECRET",
      "service": "onyx-api",
      "description": "Signs sessions and reset links",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DISABLE_TELEMETRY",
      "service": "onyx-api",
      "description": "Do not send usage telemetry",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "MODEL_SERVER_HOST",
      "service": "onyx-api",
      "description": "Query-time embedding server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MODEL_SERVER_PORT",
      "service": "onyx-api",
      "description": "Model server port",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "onyx-api",
      "description": "Postgres password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "FILE_STORE_BACKEND",
      "service": "onyx-api",
      "description": "Store uploads in object storage",
      "secret": false,
      "strategy": "default",
      "default": "s3"
    },
    {
      "key": "S3_AWS_ACCESS_KEY_ID",
      "service": "onyx-api",
      "description": "Bucket access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENCRYPTION_KEY_SECRET",
      "service": "onyx-api",
      "description": "Encrypts stored connector credentials",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "OPENSEARCH_REST_API_PORT",
      "service": "onyx-api",
      "description": "OpenSearch REST port",
      "secret": false,
      "strategy": "default",
      "default": "9200"
    },
    {
      "key": "S3_AWS_SECRET_ACCESS_KEY",
      "service": "onyx-api",
      "description": "Bucket secret key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "OPENSEARCH_ADMIN_PASSWORD",
      "service": "onyx-api",
      "description": "OpenSearch admin password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_FILE_STORE_BUCKET_NAME",
      "service": "onyx-api",
      "description": "Bucket name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "INDEXING_MODEL_SERVER_HOST",
      "service": "onyx-api",
      "description": "Indexing embedding server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_API_SERVER_POOL_SIZE",
      "service": "onyx-api",
      "description": "Pool size, twenty warmed at boot",
      "secret": false,
      "strategy": "default",
      "default": "20"
    },
    {
      "key": "POSTGRES_API_SERVER_POOL_OVERFLOW",
      "service": "onyx-api",
      "description": "Pool overflow above the base size",
      "secret": false,
      "strategy": "default",
      "default": "10"
    },
    {
      "key": "ENABLE_OPENSEARCH_RETRIEVAL_FOR_ONYX",
      "service": "onyx-api",
      "description": "Required or searches return nothing",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ENABLE_PAID_ENTERPRISE_EDITION_FEATURES",
      "service": "onyx-api",
      "description": "Community Edition behaviour",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "POSTGRES_API_SERVER_READ_ONLY_POOL_SIZE",
      "service": "onyx-api",
      "description": "Read-only pool size",
      "secret": false,
      "strategy": "default",
      "default": "5"
    },
    {
      "key": "POSTGRES_API_SERVER_READ_ONLY_POOL_OVERFLOW",
      "service": "onyx-api",
      "description": "Read-only pool overflow",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "PORT",
      "service": "onyx-indexing-model",
      "description": "Model server listening port",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "LOG_LEVEL",
      "service": "onyx-indexing-model",
      "description": "Log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "INDEXING_ONLY",
      "service": "onyx-indexing-model",
      "description": "Serve indexing embeddings only",
      "secret": false,
      "strategy": "default",
      "default": "True"
    },
    {
      "key": "ONYX_IMAGE_TAG",
      "service": "onyx-indexing-model",
      "description": "Onyx version, same on all services",
      "secret": false,
      "strategy": "default",
      "default": "v4.6.5"
    },
    {
      "key": "DISABLE_TELEMETRY",
      "service": "onyx-indexing-model",
      "description": "Do not send usage telemetry",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "MODEL_SERVER_PORT",
      "service": "onyx-indexing-model",
      "description": "Port the app binds and reports",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "PORT",
      "service": "onyx-inference-model",
      "description": "Model server listening port",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "LOG_LEVEL",
      "service": "onyx-inference-model",
      "description": "Log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "ONYX_IMAGE_TAG",
      "service": "onyx-inference-model",
      "description": "Onyx version, same on all services",
      "secret": false,
      "strategy": "default",
      "default": "v4.6.5"
    },
    {
      "key": "DISABLE_TELEMETRY",
      "service": "onyx-inference-model",
      "description": "Do not send usage telemetry",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "MODEL_SERVER_PORT",
      "service": "onyx-inference-model",
      "description": "Port the app binds and reports",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "PORT",
      "service": "onyx-proxy",
      "description": "Public HTTP listening port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "ONYX_API_HOST",
      "service": "onyx-proxy",
      "description": "API upstream for /api routes",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ONYX_WEB_HOST",
      "service": "onyx-proxy",
      "description": "Web upstream for all other routes",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "node.name",
      "service": "onyx-opensearch",
      "description": "Node name",
      "secret": false,
      "strategy": "default",
      "default": "onyx-opensearch"
    },
    {
      "key": "cluster.name",
      "service": "onyx-opensearch",
      "description": "Cluster name",
      "secret": false,
      "strategy": "default",
      "default": "onyx"
    },
    {
      "key": "OPENSEARCH_JAVA_OPTS",
      "service": "onyx-opensearch",
      "description": "JVM heap, about half the container limit",
      "secret": false,
      "strategy": "default",
      "default": "-Xms2g -Xmx2g"
    },
    {
      "key": "OPENSEARCH_INITIAL_ADMIN_PASSWORD",
      "service": "onyx-opensearch",
      "description": "Admin password, complexity enforced",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "onyx-ai"
      }
    },
    "cli": "railway deploy --template onyx-ai",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b9671f6e-203d-483d-ad71-e0a67d6aa560",
            "serializedConfig": {
              "buckets": {
                "2bb044ac-eae9-4d99-adf3-986495651fa2": {
                  "name": "onyx-file-store"
                }
              },
              "services": {
                "030ec838-1592-4641-8ac0-912c6b8f8533": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Cluster location on the volume",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database created on first boot",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser created on first boot",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "SSL certificate expiry in days",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Superuser password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "030ec838-1592-4641-8ac0-912c6b8f8533": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "58c3996d-9191-4414-b1c6-36fa04482f9a": {
                  "icon": "https://raw.githubusercontent.com/onyx-dot-app/onyx/main/web/public/logo-dark.png",
                  "name": "onyx-worker",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/onyx-railway",
                    "rootDirectory": "worker"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Worker health endpoint port",
                      "defaultValue": "8080"
                    },
                    "AUTH_TYPE": {
                      "isOptional": false,
                      "description": "Email and password sign-in",
                      "defaultValue": "basic"
                    },
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Log verbosity across all workers",
                      "defaultValue": "info"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Private Redis hostname",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "WEB_DOMAIN": {
                      "isOptional": false,
                      "description": "Public base URL for links",
                      "defaultValue": "https://${{onyx-proxy.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Postgres database name",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "POSTGRES_HOST": {
                      "isOptional": false,
                      "description": "Private Postgres hostname",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "POSTGRES_PORT": {
                      "isOptional": false,
                      "description": "Postgres port",
                      "defaultValue": "5432"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Postgres role",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "S3_VERIFY_SSL": {
                      "isOptional": false,
                      "description": "Verify the bucket TLS certificate",
                      "defaultValue": "true"
                    },
                    "ONYX_IMAGE_TAG": {
                      "isOptional": false,
                      "description": "Onyx version, same on all services",
                      "defaultValue": "v4.6.5"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis auth password",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "API_SERVER_HOST": {
                      "isOptional": false,
                      "description": "Private API server hostname",
                      "defaultValue": "${{onyx-api.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "API_SERVER_PORT": {
                      "isOptional": false,
                      "description": "API server port",
                      "defaultValue": "8080"
                    },
                    "AWS_REGION_NAME": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{onyx-file-store.REGION}}"
                    },
                    "OPENSEARCH_HOST": {
                      "isOptional": false,
                      "description": "Private OpenSearch hostname",
                      "defaultValue": "${{onyx-opensearch.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "S3_ENDPOINT_URL": {
                      "isOptional": false,
                      "description": "Bucket endpoint",
                      "defaultValue": "${{onyx-file-store.ENDPOINT}}"
                    },
                    "USER_AUTH_SECRET": {
                      "isOptional": false,
                      "description": "Must match the API server",
                      "defaultValue": "${{onyx-api.USER_AUTH_SECRET}}"
                    },
                    "DISABLE_TELEMETRY": {
                      "isOptional": false,
                      "description": "Do not send usage telemetry",
                      "defaultValue": "true"
                    },
                    "MODEL_SERVER_HOST": {
                      "isOptional": false,
                      "description": "Query-time embedding server",
                      "defaultValue": "${{onyx-inference-model.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MODEL_SERVER_PORT": {
                      "isOptional": false,
                      "description": "Model server port",
                      "defaultValue": "9000"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Postgres password",
                      "defaultValue": "${{Postgres.POSTGRES_PASSWORD}}"
                    },
                    "FILE_STORE_BACKEND": {
                      "isOptional": false,
                      "description": "Store uploads in object storage",
                      "defaultValue": "s3"
                    },
                    "API_SERVER_PROTOCOL": {
                      "isOptional": false,
                      "description": "Scheme used to reach the API server",
                      "defaultValue": "http"
                    },
                    "S3_AWS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Bucket access key",
                      "defaultValue": "${{onyx-file-store.ACCESS_KEY_ID}}"
                    },
                    "ENCRYPTION_KEY_SECRET": {
                      "isOptional": false,
                      "description": "Must match the API server",
                      "defaultValue": "${{onyx-api.ENCRYPTION_KEY_SECRET}}"
                    },
                    "OPENSEARCH_REST_API_PORT": {
                      "isOptional": false,
                      "description": "OpenSearch REST port",
                      "defaultValue": "9200"
                    },
                    "S3_AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret key",
                      "defaultValue": "${{onyx-file-store.SECRET_ACCESS_KEY}}"
                    },
                    "OPENSEARCH_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "OpenSearch admin password",
                      "defaultValue": "${{onyx-opensearch.OPENSEARCH_INITIAL_ADMIN_PASSWORD}}"
                    },
                    "S3_FILE_STORE_BUCKET_NAME": {
                      "isOptional": false,
                      "description": "Bucket name",
                      "defaultValue": "${{onyx-file-store.BUCKET}}"
                    },
                    "INDEXING_MODEL_SERVER_HOST": {
                      "isOptional": false,
                      "description": "Indexing embedding server",
                      "defaultValue": "${{onyx-indexing-model.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "CELERY_WORKER_LIGHT_CONCURRENCY": {
                      "isOptional": false,
                      "description": "Parallel sync and cleanup jobs",
                      "defaultValue": "4"
                    },
                    "ENABLE_OPENSEARCH_RETRIEVAL_FOR_ONYX": {
                      "isOptional": false,
                      "description": "Required or searches return nothing",
                      "defaultValue": "true"
                    },
                    "CELERY_WORKER_DOCFETCHING_CONCURRENCY": {
                      "isOptional": false,
                      "description": "Parallel connector fetches",
                      "defaultValue": "1"
                    },
                    "CELERY_WORKER_DOCPROCESSING_CONCURRENCY": {
                      "isOptional": false,
                      "description": "Parallel chunk and embed jobs",
                      "defaultValue": "2"
                    },
                    "ENABLE_PAID_ENTERPRISE_EDITION_FEATURES": {
                      "isOptional": false,
                      "description": "Community Edition behaviour",
                      "defaultValue": "false"
                    }
                  }
                },
                "7878c4c9-824e-4ed5-bf12-df6fc23a4016": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/redis.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Auth password, read by the server",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "7878c4c9-824e-4ed5-bf12-df6fc23a4016": {
                      "mountPath": "/data"
                    }
                  }
                },
                "99a7b1cd-483d-44e7-961d-a90fa1bf31af": {
                  "icon": "https://raw.githubusercontent.com/onyx-dot-app/onyx/main/web/public/logo-dark.png",
                  "name": "onyx-web",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/onyx-railway",
                    "rootDirectory": "web"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Next.js listening port",
                      "defaultValue": "3000"
                    },
                    "HOSTNAME": {
                      "isOptional": false,
                      "description": "Dual-stack bind for private networking",
                      "defaultValue": "::"
                    },
                    "WEB_DOMAIN": {
                      "isOptional": false,
                      "description": "Public base URL",
                      "defaultValue": "https://${{onyx-proxy.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "INTERNAL_URL": {
                      "isOptional": false,
                      "description": "Server-side API base URL",
                      "defaultValue": "http://${{onyx-api.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    },
                    "NODE_OPTIONS": {
                      "isOptional": false,
                      "description": "Node heap ceiling",
                      "defaultValue": "--max-old-space-size=2048"
                    },
                    "ONYX_IMAGE_TAG": {
                      "isOptional": false,
                      "description": "Onyx version, same on all services",
                      "defaultValue": "v4.6.5"
                    }
                  }
                },
                "a71c2a3f-eec2-4a09-a530-6aab8d602a51": {
                  "icon": "https://raw.githubusercontent.com/onyx-dot-app/onyx/main/web/public/logo-dark.png",
                  "name": "onyx-api",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/onyx-railway",
                    "rootDirectory": "api"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "API listening port",
                      "defaultValue": "8080"
                    },
                    "AUTH_TYPE": {
                      "isOptional": false,
                      "description": "Email and password sign-in",
                      "defaultValue": "basic"
                    },
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Log verbosity across all processes",
                      "defaultValue": "info"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Private Redis hostname",
                      "defaultValue": "${{Redis.REDISHOST}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "${{Redis.REDISPORT}}"
                    },
                    "WEB_DOMAIN": {
                      "isOptional": false,
                      "description": "Public base URL for redirects",
                      "defaultValue": "https://${{onyx-proxy.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Postgres database name",
                      "defaultValue": "${{Postgres.PGDATABASE}}"
                    },
                    "POSTGRES_HOST": {
                      "isOptional": false,
                      "description": "Private Postgres hostname",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "POSTGRES_PORT": {
                      "isOptional": false,
                      "description": "Postgres port",
                      "defaultValue": "5432"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Postgres role",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "S3_VERIFY_SSL": {
                      "isOptional": false,
                      "description": "Verify the bucket TLS certificate",
                      "defaultValue": "true"
                    },
                    "ONYX_IMAGE_TAG": {
                      "isOptional": false,
                      "description": "Onyx version, same on all services",
                      "defaultValue": "v4.6.5"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis auth password",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "AWS_REGION_NAME": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{onyx-file-store.REGION}}"
                    },
                    "OPENSEARCH_HOST": {
                      "isOptional": false,
                      "description": "Private OpenSearch hostname",
                      "defaultValue": "${{onyx-opensearch.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "S3_ENDPOINT_URL": {
                      "isOptional": false,
                      "description": "Bucket endpoint",
                      "defaultValue": "${{onyx-file-store.ENDPOINT}}"
                    },
                    "USER_AUTH_SECRET": {
                      "isOptional": false,
                      "description": "Signs sessions and reset links",
                      "defaultValue": "{{USER_AUTH_SECRET}}"
                    },
                    "DISABLE_TELEMETRY": {
                      "isOptional": false,
                      "description": "Do not send usage telemetry",
                      "defaultValue": "true"
                    },
                    "MODEL_SERVER_HOST": {
                      "isOptional": false,
                      "description": "Query-time embedding server",
                      "defaultValue": "${{onyx-inference-model.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MODEL_SERVER_PORT": {
                      "isOptional": false,
                      "description": "Model server port",
                      "defaultValue": "9000"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Postgres password",
                      "defaultValue": "${{Postgres.POSTGRES_PASSWORD}}"
                    },
                    "FILE_STORE_BACKEND": {
                      "isOptional": false,
                      "description": "Store uploads in object storage",
                      "defaultValue": "s3"
                    },
                    "S3_AWS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Bucket access key",
                      "defaultValue": "${{onyx-file-store.ACCESS_KEY_ID}}"
                    },
                    "ENCRYPTION_KEY_SECRET": {
                      "isOptional": false,
                      "description": "Encrypts stored connector credentials",
                      "defaultValue": "{{ENCRYPTION_KEY_SECRET}}"
                    },
                    "OPENSEARCH_REST_API_PORT": {
                      "isOptional": false,
                      "description": "OpenSearch REST port",
                      "defaultValue": "9200"
                    },
                    "S3_AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret key",
                      "defaultValue": "${{onyx-file-store.SECRET_ACCESS_KEY}}"
                    },
                    "OPENSEARCH_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "OpenSearch admin password",
                      "defaultValue": "${{onyx-opensearch.OPENSEARCH_INITIAL_ADMIN_PASSWORD}}"
                    },
                    "S3_FILE_STORE_BUCKET_NAME": {
                      "isOptional": false,
                      "description": "Bucket name",
                      "defaultValue": "${{onyx-file-store.BUCKET}}"
                    },
                    "INDEXING_MODEL_SERVER_HOST": {
                      "isOptional": false,
                      "description": "Indexing embedding server",
                      "defaultValue": "${{onyx-indexing-model.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "POSTGRES_API_SERVER_POOL_SIZE": {
                      "isOptional": false,
                      "description": "Pool size, twenty warmed at boot",
                      "defaultValue": "20"
                    },
                    "POSTGRES_API_SERVER_POOL_OVERFLOW": {
                      "isOptional": false,
                      "description": "Pool overflow above the base size",
                      "defaultValue": "10"
                    },
                    "ENABLE_OPENSEARCH_RETRIEVAL_FOR_ONYX": {
                      "isOptional": false,
                      "description": "Required or searches return nothing",
                      "defaultValue": "true"
                    },
                    "ENABLE_PAID_ENTERPRISE_EDITION_FEATURES": {
                      "isOptional": false,
                      "description": "Community Edition behaviour",
                      "defaultValue": "false"
                    },
                    "POSTGRES_API_SERVER_READ_ONLY_POOL_SIZE": {
                      "isOptional": false,
                      "description": "Read-only pool size",
                      "defaultValue": "5"
                    },
                    "POSTGRES_API_SERVER_READ_ONLY_POOL_OVERFLOW": {
                      "isOptional": false,
                      "description": "Read-only pool overflow",
                      "defaultValue": "2"
                    }
                  }
                },
                "b400df0d-6572-459a-bc48-9e4d846eac02": {
                  "icon": "https://raw.githubusercontent.com/onyx-dot-app/onyx/main/web/public/logo-dark.png",
                  "name": "onyx-indexing-model",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/onyx-railway",
                    "rootDirectory": "model-server"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Model server listening port",
                      "defaultValue": "9000"
                    },
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Log verbosity",
                      "defaultValue": "info"
                    },
                    "INDEXING_ONLY": {
                      "isOptional": false,
                      "description": "Serve indexing embeddings only",
                      "defaultValue": "True"
                    },
                    "ONYX_IMAGE_TAG": {
                      "isOptional": false,
                      "description": "Onyx version, same on all services",
                      "defaultValue": "v4.6.5"
                    },
                    "DISABLE_TELEMETRY": {
                      "isOptional": false,
                      "description": "Do not send usage telemetry",
                      "defaultValue": "true"
                    },
                    "MODEL_SERVER_PORT": {
                      "isOptional": false,
                      "description": "Port the app binds and reports",
                      "defaultValue": "9000"
                    }
                  }
                },
                "c600790f-f288-4cee-b0c0-bf9cfb7be84a": {
                  "icon": "https://raw.githubusercontent.com/onyx-dot-app/onyx/main/web/public/logo-dark.png",
                  "name": "onyx-inference-model",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/onyx-railway",
                    "rootDirectory": "model-server"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Model server listening port",
                      "defaultValue": "9000"
                    },
                    "LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Log verbosity",
                      "defaultValue": "info"
                    },
                    "ONYX_IMAGE_TAG": {
                      "isOptional": false,
                      "description": "Onyx version, same on all services",
                      "defaultValue": "v4.6.5"
                    },
                    "DISABLE_TELEMETRY": {
                      "isOptional": false,
                      "description": "Do not send usage telemetry",
                      "defaultValue": "true"
                    },
                    "MODEL_SERVER_PORT": {
                      "isOptional": false,
                      "description": "Port the app binds and reports",
                      "defaultValue": "9000"
                    }
                  }
                },
                "daa307dd-4bdf-420c-9425-ddc82bd39e51": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/caddy.svg",
                  "name": "onyx-proxy",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/onyx-railway",
                    "rootDirectory": "proxy"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Public HTTP listening port",
                      "defaultValue": "8080"
                    },
                    "ONYX_API_HOST": {
                      "isOptional": false,
                      "description": "API upstream for /api routes",
                      "defaultValue": "${{onyx-api.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    },
                    "ONYX_WEB_HOST": {
                      "isOptional": false,
                      "description": "Web upstream for all other routes",
                      "defaultValue": "${{onyx-web.RAILWAY_PRIVATE_DOMAIN}}:3000"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "e72be802-d0c1-415c-b3bb-e5e30b4329d4": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/opensearch.svg",
                  "name": "onyx-opensearch",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/onyx-railway",
                    "rootDirectory": "opensearch"
                  },
                  "variables": {
                    "node.name": {
                      "isOptional": false,
                      "description": "Node name",
                      "defaultValue": "onyx-opensearch"
                    },
                    "cluster.name": {
                      "isOptional": false,
                      "description": "Cluster name",
                      "defaultValue": "onyx"
                    },
                    "OPENSEARCH_JAVA_OPTS": {
                      "isOptional": false,
                      "description": "JVM heap, about half the container limit",
                      "defaultValue": "-Xms2g -Xmx2g"
                    },
                    "OPENSEARCH_INITIAL_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin password, complexity enforced",
                      "defaultValue": "{{OPENSEARCH_INITIAL_ADMIN_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "e72be802-d0c1-415c-b3bb-e5e30b4329d4": {
                      "mountPath": "/usr/share/opensearch/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 9,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-19T12:47:30.646Z",
  "success_rate_30d": 0.1667,
  "validation": {
    "last_run_id": "run_9381c453dfe54a2395f9",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ],
    "typical_ready_seconds": 351
  }
}
