{
  "manifest_version": "1.0.0",
  "template": {
    "id": "8bcdc09f-62da-400a-83bf-34a0c22913a3",
    "slug": "XJrbIL",
    "name": "LobeChat | Open Source ChatGPT Alternative for Any Model Provider",
    "description": "Multi-provider AI chat with built-in accounts and a document knowledge base",
    "url": "https://railway.com/deploy/XJrbIL",
    "upstream": {
      "image": "lobehub/lobehub:2.2.16"
    }
  },
  "services": [
    {
      "name": "lobe",
      "source": {
        "image": "lobehub/lobehub:2.2.16"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Bucket Init",
      "source": {
        "image": "minio/mc:RELEASE.2025-08-13T08-35-41Z"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Postgres",
      "source": {
        "image": "paradedb/paradedb:0.25.6-pg17"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "MinIO",
      "source": {
        "image": "minio/minio:RELEASE.2025-09-07T16-13-09Z"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.10.1-alpine"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "lobe",
      "description": "Port LobeChat listens on.",
      "secret": false,
      "strategy": "default",
      "default": "3210"
    },
    {
      "key": "APP_URL",
      "service": "lobe",
      "description": "Public URL of this deployment. Must not end with a slash.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "REDIS_TLS",
      "service": "lobe",
      "description": "Redis runs on the private network without TLS.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "REDIS_URL",
      "service": "lobe",
      "description": "Redis connection string.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_BUCKET",
      "service": "lobe",
      "description": "Bucket for uploads.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_SET_ACL",
      "service": "lobe",
      "description": "MinIO rejects the canned-ACL header; the bucket policy grants public reads instead.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "AUTH_SECRET",
      "service": "lobe",
      "description": "Signs Better-Auth sessions. Changing it logs everyone out.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "S3_ENDPOINT",
      "service": "lobe",
      "description": "S3 endpoint the browser uploads to.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "lobe",
      "description": "Postgres connection string.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DB_WAIT_HOST",
      "service": "lobe",
      "description": "Host the start command waits for before running migrations.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DB_WAIT_PORT",
      "service": "lobe",
      "description": "Port the start command waits for.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "REDIS_PREFIX",
      "service": "lobe",
      "description": "Key prefix for this deployment.",
      "secret": false,
      "strategy": "default",
      "default": "lobechat"
    },
    {
      "key": "S3_ACCESS_KEY",
      "service": "lobe",
      "description": "S3 access key.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "INTERNAL_APP_URL",
      "service": "lobe",
      "description": "Loopback URL the server uses to reach itself.",
      "secret": false,
      "strategy": "default",
      "default": "http://localhost:3210"
    },
    {
      "key": "S3_ACCESS_KEY_ID",
      "service": "lobe",
      "description": "S3 access key (id form read by the app).",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "S3_PUBLIC_DOMAIN",
      "service": "lobe",
      "description": "Public domain files are served from.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KEY_VAULTS_SECRET",
      "service": "lobe",
      "description": "Encrypts stored provider API keys at rest. Changing it makes existing keys unreadable.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "S3_ENABLE_PATH_STYLE",
      "service": "lobe",
      "description": "MinIO addresses buckets by path, not subdomain.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "S3_SECRET_ACCESS_KEY",
      "service": "lobe",
      "description": "S3 secret key.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "LLM_VISION_IMAGE_USE_BASE64",
      "service": "lobe",
      "description": "Send vision images inline, so models work before the bucket is publicly reachable.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "MINIO_BUCKET",
      "service": "Bucket Init",
      "description": "Bucket to create.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MINIO_ENDPOINT",
      "service": "Bucket Init",
      "description": "Private MinIO endpoint.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MINIO_ROOT_USER",
      "service": "Bucket Init",
      "description": "MinIO access key.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MINIO_ROOT_PASSWORD",
      "service": "Bucket Init",
      "description": "MinIO secret key.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Data directory, one level below the mount point so the volume's lost+found does not block initialisation.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Private hostname of the database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Port Postgres listens on inside the private network.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Database user.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Database name, mirrored for the Data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Database password, mirrored for the Data panel.",
      "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": "lobechat"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string used by LobeChat.",
      "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": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Generated database password.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PUBLIC_URL",
      "service": "Postgres",
      "description": "Public connection string over the TCP proxy, for external clients.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "MinIO",
      "description": "Port MinIO serves the S3 API on.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MINIO_BUCKET",
      "service": "MinIO",
      "description": "Bucket LobeChat stores uploads in.",
      "secret": false,
      "strategy": "default",
      "default": "lobe"
    },
    {
      "key": "MINIO_ROOT_USER",
      "service": "MinIO",
      "description": "Generated MinIO access key.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MINIO_PUBLIC_HOST",
      "service": "MinIO",
      "description": "Public hostname, used by the browser to upload files.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "MINIO_PUBLIC_PORT",
      "service": "MinIO",
      "description": "Public port.",
      "secret": false,
      "strategy": "default",
      "default": "443"
    },
    {
      "key": "MINIO_PRIVATE_HOST",
      "service": "MinIO",
      "description": "Private hostname.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MINIO_PRIVATE_PORT",
      "service": "MinIO",
      "description": "Private port.",
      "secret": false,
      "strategy": "default",
      "default": "9000"
    },
    {
      "key": "MINIO_ROOT_PASSWORD",
      "service": "MinIO",
      "description": "Generated MinIO secret key.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MINIO_PUBLIC_ENDPOINT",
      "service": "MinIO",
      "description": "Public S3 endpoint, used by the browser.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MINIO_PRIVATE_ENDPOINT",
      "service": "MinIO",
      "description": "Private S3 endpoint, used by the bucket initialiser.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection string used by LobeChat.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Generated Redis password.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "XJrbIL"
      }
    },
    "cli": "railway deploy --template XJrbIL",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "8bcdc09f-62da-400a-83bf-34a0c22913a3",
            "serializedConfig": {
              "services": {
                "1f925ef6-cdf1-46f3-a9d8-a53acca51953": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/lobe-chat.svg",
                  "name": "lobe",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'for i in $(seq 1 90); do nc -z \"$DB_WAIT_HOST\" \"$DB_WAIT_PORT\" && break; echo \"waiting for postgres ($i/90)\"; sleep 2; done; exec /bin/node /app/startServer.js'",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "lobehub/lobehub:2.2.16"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port LobeChat listens on.",
                      "defaultValue": "3210"
                    },
                    "APP_URL": {
                      "isOptional": false,
                      "description": "Public URL of this deployment. Must not end with a slash.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "REDIS_TLS": {
                      "isOptional": false,
                      "description": "Redis runs on the private network without TLS.",
                      "defaultValue": "0"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis connection string.",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "S3_BUCKET": {
                      "isOptional": false,
                      "description": "Bucket for uploads.",
                      "defaultValue": "${{MinIO.MINIO_BUCKET}}"
                    },
                    "S3_SET_ACL": {
                      "isOptional": false,
                      "description": "MinIO rejects the canned-ACL header; the bucket policy grants public reads instead.",
                      "defaultValue": "0"
                    },
                    "AUTH_SECRET": {
                      "isOptional": false,
                      "description": "Signs Better-Auth sessions. Changing it logs everyone out.",
                      "defaultValue": "{{AUTH_SECRET}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": false,
                      "description": "S3 endpoint the browser uploads to.",
                      "defaultValue": "${{MinIO.MINIO_PUBLIC_ENDPOINT}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string.",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "DB_WAIT_HOST": {
                      "isOptional": false,
                      "description": "Host the start command waits for before running migrations.",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "DB_WAIT_PORT": {
                      "isOptional": false,
                      "description": "Port the start command waits for.",
                      "defaultValue": "5432"
                    },
                    "REDIS_PREFIX": {
                      "isOptional": false,
                      "description": "Key prefix for this deployment.",
                      "defaultValue": "lobechat"
                    },
                    "S3_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "S3 access key.",
                      "defaultValue": "${{MinIO.MINIO_ROOT_USER}}"
                    },
                    "INTERNAL_APP_URL": {
                      "isOptional": false,
                      "description": "Loopback URL the server uses to reach itself.",
                      "defaultValue": "http://localhost:3210"
                    },
                    "S3_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "S3 access key (id form read by the app).",
                      "defaultValue": "${{MinIO.MINIO_ROOT_USER}}"
                    },
                    "S3_PUBLIC_DOMAIN": {
                      "isOptional": false,
                      "description": "Public domain files are served from.",
                      "defaultValue": "${{MinIO.MINIO_PUBLIC_ENDPOINT}}"
                    },
                    "KEY_VAULTS_SECRET": {
                      "isOptional": false,
                      "description": "Encrypts stored provider API keys at rest. Changing it makes existing keys unreadable.",
                      "defaultValue": "{{KEY_VAULTS_SECRET}}"
                    },
                    "S3_ENABLE_PATH_STYLE": {
                      "isOptional": false,
                      "description": "MinIO addresses buckets by path, not subdomain.",
                      "defaultValue": "1"
                    },
                    "S3_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "S3 secret key.",
                      "defaultValue": "${{MinIO.MINIO_ROOT_PASSWORD}}"
                    },
                    "LLM_VISION_IMAGE_USE_BASE64": {
                      "isOptional": false,
                      "description": "Send vision images inline, so models work before the bucket is publicly reachable.",
                      "defaultValue": "1"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "279c1e8e-7ce3-4a3d-93e0-c65089dcdf24": {
                  "icon": "https://res.cloudinary.com/h5kvzw/image/upload/v1706062979/MINIO_Bird_vbtpet.png",
                  "name": "Bucket Init",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"for i in $(seq 1 30); do /usr/bin/mc alias set minio ${MINIO_ENDPOINT} ${MINIO_ROOT_USER} ${MINIO_ROOT_PASSWORD} && break; echo waiting-for-minio $i; sleep 3; done; /usr/bin/mc mb --ignore-existing minio/${MINIO_BUCKET} && /usr/bin/mc anonymous set download minio/${MINIO_BUCKET}/public && echo BUCKET_INIT_OK; exec sleep infinity\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "minio/mc:RELEASE.2025-08-13T08-35-41Z"
                  },
                  "variables": {
                    "MINIO_BUCKET": {
                      "isOptional": false,
                      "description": "Bucket to create.",
                      "defaultValue": "${{MinIO.MINIO_BUCKET}}"
                    },
                    "MINIO_ENDPOINT": {
                      "isOptional": false,
                      "description": "Private MinIO endpoint.",
                      "defaultValue": "${{MinIO.MINIO_PRIVATE_ENDPOINT}}"
                    },
                    "MINIO_ROOT_USER": {
                      "isOptional": false,
                      "description": "MinIO access key.",
                      "defaultValue": "${{MinIO.MINIO_ROOT_USER}}"
                    },
                    "MINIO_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "MinIO secret key.",
                      "defaultValue": "${{MinIO.MINIO_ROOT_PASSWORD}}"
                    }
                  }
                },
                "658af665-0f89-40e9-a2fb-8703940f13ff": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"unset PGPORT; exec docker-entrypoint.sh postgres --port=5432 -c shared_preload_libraries=pg_search\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 2
                  },
                  "source": {
                    "image": "paradedb/paradedb:0.25.6-pg17"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Data directory, one level below the mount point so the volume's lost+found does not block initialisation.",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Private hostname of the database.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Port Postgres listens on inside the private network.",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Database user.",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Database name, mirrored for the Data panel.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Database password, mirrored for the Data panel.",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database created on first boot.",
                      "defaultValue": "lobechat"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string used by LobeChat.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser created on first boot.",
                      "defaultValue": "postgres"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated database password.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Public connection string over the TCP proxy, for external clients.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    }
                  },
                  "volumeMounts": {
                    "658af665-0f89-40e9-a2fb-8703940f13ff": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "6fc60248-0a45-453b-886e-54c918c1bc5e": {
                  "icon": "https://res.cloudinary.com/h5kvzw/image/upload/v1706062979/MINIO_Bird_vbtpet.png",
                  "name": "MinIO",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"exec minio server --address [::]:$MINIO_PRIVATE_PORT $RAILWAY_VOLUME_MOUNT_PATH\"",
                    "healthcheckPath": "/minio/health/ready",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "minio/minio:RELEASE.2025-09-07T16-13-09Z"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port MinIO serves the S3 API on.",
                      "defaultValue": "${{MINIO_PRIVATE_PORT}}"
                    },
                    "MINIO_BUCKET": {
                      "isOptional": false,
                      "description": "Bucket LobeChat stores uploads in.",
                      "defaultValue": "lobe"
                    },
                    "MINIO_ROOT_USER": {
                      "isOptional": false,
                      "description": "Generated MinIO access key.",
                      "defaultValue": "{{MINIO_ROOT_USER}}"
                    },
                    "MINIO_PUBLIC_HOST": {
                      "isOptional": false,
                      "description": "Public hostname, used by the browser to upload files.",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "MINIO_PUBLIC_PORT": {
                      "isOptional": false,
                      "description": "Public port.",
                      "defaultValue": "443"
                    },
                    "MINIO_PRIVATE_HOST": {
                      "isOptional": false,
                      "description": "Private hostname.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MINIO_PRIVATE_PORT": {
                      "isOptional": false,
                      "description": "Private port.",
                      "defaultValue": "9000"
                    },
                    "MINIO_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated MinIO secret key.",
                      "defaultValue": "{{MINIO_ROOT_PASSWORD}}"
                    },
                    "MINIO_PUBLIC_ENDPOINT": {
                      "isOptional": false,
                      "description": "Public S3 endpoint, used by the browser.",
                      "defaultValue": "https://${{MINIO_PUBLIC_HOST}}:${{MINIO_PUBLIC_PORT}}"
                    },
                    "MINIO_PRIVATE_ENDPOINT": {
                      "isOptional": false,
                      "description": "Private S3 endpoint, used by the bucket initialiser.",
                      "defaultValue": "http://${{MINIO_PRIVATE_HOST}}:${{MINIO_PRIVATE_PORT}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "6fc60248-0a45-453b-886e-54c918c1bc5e": {
                      "mountPath": "/data"
                    }
                  }
                },
                "b41d7c92-3e8a-4f16-9d05-7ac2e1f4b830": {
                  "icon": "https://devicons.railway.app/i/redis.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "sh -c 'exec redis-server --requirepass \"$REDIS_PASSWORD\" --appendonly yes --dir /data --bind 0.0.0.0 ::'",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 2
                  },
                  "source": {
                    "image": "redis:8.10.1-alpine"
                  },
                  "variables": {
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection string used by LobeChat.",
                      "defaultValue": "redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:6379"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated Redis password.",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "c7e93a48-51bd-4d72-b3f1-2e6a8d05c914": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "MinIO",
      "method": "GET",
      "path": "/minio/health/ready",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-09-19T10:14:38.021Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-19T03:26:14.712Z",
  "success_rate_30d": 0.2,
  "validation": {
    "last_run_id": "run_2665198f37dd434ba16b",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED,SUCCESS,QUEUED,FAILED,SUCCESS"
      }
    ],
    "typical_ready_seconds": 83,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "lobe"
  }
}
