{
  "manifest_version": "1.0.0",
  "template": {
    "id": "51b44d02-eae6-48d9-a4c7-5dcaba230dd8",
    "slug": "redash-analytics",
    "name": "Redash",
    "description": "Query databases with SQL and turn results into shared dashboards",
    "url": "https://railway.com/deploy/redash-analytics",
    "upstream": {
      "image": "redash/redash:26.3.0"
    }
  },
  "services": [
    {
      "name": "redash-worker-adhoc",
      "source": {
        "image": "redash/redash:26.3.0"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "redash-scheduler",
      "source": {
        "image": "redash/redash:26.3.0"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "redash-server",
      "source": {
        "image": "redash/redash:26.3.0"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "redash-worker-scheduled",
      "source": {
        "image": "redash/redash:26.3.0"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "redash-worker-default",
      "source": {
        "image": "redash/redash:26.3.0"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "QUEUES",
      "service": "redash-worker-adhoc",
      "description": "RQ queue this worker drains",
      "secret": false,
      "strategy": "default",
      "default": "queries"
    },
    {
      "key": "REDASH_HOST",
      "service": "redash-worker-adhoc",
      "description": "Public base URL for links and emails",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "WORKERS_COUNT",
      "service": "redash-worker-adhoc",
      "description": "Worker processes in this service",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "PYTHONUNBUFFERED",
      "service": "redash-worker-adhoc",
      "description": "Stream Python output to logs",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "REDASH_LOG_LEVEL",
      "service": "redash-worker-adhoc",
      "description": "Application log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "INFO"
    },
    {
      "key": "REDASH_REDIS_URL",
      "service": "redash-worker-adhoc",
      "description": "RQ broker for enqueued jobs",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_SECRET_KEY",
      "service": "redash-worker-adhoc",
      "description": "Shared data-source encryption key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_DATABASE_URL",
      "service": "redash-worker-adhoc",
      "description": "Redash metadata database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_COOKIE_SECRET",
      "service": "redash-worker-adhoc",
      "description": "Shared session signing key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_HOST",
      "service": "redash-scheduler",
      "description": "Public base URL for links and emails",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PYTHONUNBUFFERED",
      "service": "redash-scheduler",
      "description": "Stream Python output to logs",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "REDASH_LOG_LEVEL",
      "service": "redash-scheduler",
      "description": "Application log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "INFO"
    },
    {
      "key": "REDASH_REDIS_URL",
      "service": "redash-scheduler",
      "description": "RQ broker for enqueued jobs",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_SECRET_KEY",
      "service": "redash-scheduler",
      "description": "Shared data-source encryption key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_DATABASE_URL",
      "service": "redash-scheduler",
      "description": "Redash metadata database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_COOKIE_SECRET",
      "service": "redash-scheduler",
      "description": "Shared session signing key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "redash-server",
      "description": "Port Railway health-checks",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    },
    {
      "key": "REDASH_HOST",
      "service": "redash-server",
      "description": "Public base URL for links and emails",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PYTHONUNBUFFERED",
      "service": "redash-server",
      "description": "Stream Python output to logs",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "REDASH_LOG_LEVEL",
      "service": "redash-server",
      "description": "Application log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "INFO"
    },
    {
      "key": "REDASH_REDIS_URL",
      "service": "redash-server",
      "description": "RQ broker and rate-limit store",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_SECRET_KEY",
      "service": "redash-server",
      "description": "Encrypts stored data-source credentials",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "REDASH_WEB_WORKERS",
      "service": "redash-server",
      "description": "gunicorn worker processes",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "REDASH_DATABASE_URL",
      "service": "redash-server",
      "description": "Redash metadata database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_ENFORCE_CSRF",
      "service": "redash-server",
      "description": "CSRF validation on API requests",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "REDASH_COOKIE_SECRET",
      "service": "redash-server",
      "description": "Session cookie signing key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "REDASH_ENFORCE_HTTPS",
      "service": "redash-server",
      "description": "HSTS and Secure cookies",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "REDASH_PROXIES_COUNT",
      "service": "redash-server",
      "description": "Reverse proxy hops in front of Redash",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "REDASH_GUNICORN_TIMEOUT",
      "service": "redash-server",
      "description": "Request timeout in seconds",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "REDASH_RATELIMIT_ENABLED",
      "service": "redash-server",
      "description": "Throttle login attempts per IP",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "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, read by the server",
      "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": "QUEUES",
      "service": "redash-worker-scheduled",
      "description": "RQ queues this worker drains",
      "secret": false,
      "strategy": "default",
      "default": "scheduled_queries,schemas"
    },
    {
      "key": "REDASH_HOST",
      "service": "redash-worker-scheduled",
      "description": "Public base URL for links and emails",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "WORKERS_COUNT",
      "service": "redash-worker-scheduled",
      "description": "Worker processes in this service",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "PYTHONUNBUFFERED",
      "service": "redash-worker-scheduled",
      "description": "Stream Python output to logs",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "REDASH_LOG_LEVEL",
      "service": "redash-worker-scheduled",
      "description": "Application log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "INFO"
    },
    {
      "key": "REDASH_REDIS_URL",
      "service": "redash-worker-scheduled",
      "description": "RQ broker for enqueued jobs",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_SECRET_KEY",
      "service": "redash-worker-scheduled",
      "description": "Shared data-source encryption key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_DATABASE_URL",
      "service": "redash-worker-scheduled",
      "description": "Redash metadata database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_COOKIE_SECRET",
      "service": "redash-worker-scheduled",
      "description": "Shared session signing key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "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": "QUEUES",
      "service": "redash-worker-default",
      "description": "RQ queues this worker drains",
      "secret": false,
      "strategy": "default",
      "default": "periodic,emails,default"
    },
    {
      "key": "REDASH_HOST",
      "service": "redash-worker-default",
      "description": "Public base URL for links and emails",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "WORKERS_COUNT",
      "service": "redash-worker-default",
      "description": "Worker processes in this service",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "PYTHONUNBUFFERED",
      "service": "redash-worker-default",
      "description": "Stream Python output to logs",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "REDASH_LOG_LEVEL",
      "service": "redash-worker-default",
      "description": "Application log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "INFO"
    },
    {
      "key": "REDASH_REDIS_URL",
      "service": "redash-worker-default",
      "description": "RQ broker for enqueued jobs",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_SECRET_KEY",
      "service": "redash-worker-default",
      "description": "Shared data-source encryption key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_DATABASE_URL",
      "service": "redash-worker-default",
      "description": "Redash metadata database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDASH_COOKIE_SECRET",
      "service": "redash-worker-default",
      "description": "Shared session signing key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "redash-analytics"
      }
    },
    "cli": "railway deploy --template redash-analytics",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "51b44d02-eae6-48d9-a4c7-5dcaba230dd8",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0bab737b-80ea-41bd-9482-462b790d217d": {
                  "icon": "https://cdn.simpleicons.org/redash/FF7964.svg",
                  "name": "redash-worker-adhoc",
                  "deploy": {
                    "startCommand": "/app/bin/docker-entrypoint worker",
                    "healthcheckPath": null,
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redash/redash:26.3.0"
                  },
                  "variables": {
                    "QUEUES": {
                      "isOptional": false,
                      "description": "RQ queue this worker drains",
                      "defaultValue": "queries"
                    },
                    "REDASH_HOST": {
                      "isOptional": false,
                      "description": "Public base URL for links and emails",
                      "defaultValue": "https://${{redash-server.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "WORKERS_COUNT": {
                      "isOptional": false,
                      "description": "Worker processes in this service",
                      "defaultValue": "2"
                    },
                    "PYTHONUNBUFFERED": {
                      "isOptional": false,
                      "description": "Stream Python output to logs",
                      "defaultValue": "1"
                    },
                    "REDASH_LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Application log verbosity",
                      "defaultValue": "INFO"
                    },
                    "REDASH_REDIS_URL": {
                      "isOptional": false,
                      "description": "RQ broker for enqueued jobs",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "REDASH_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Shared data-source encryption key",
                      "defaultValue": "${{redash-server.REDASH_SECRET_KEY}}"
                    },
                    "REDASH_DATABASE_URL": {
                      "isOptional": false,
                      "description": "Redash metadata database",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "REDASH_COOKIE_SECRET": {
                      "isOptional": false,
                      "description": "Shared session signing key",
                      "defaultValue": "${{redash-server.REDASH_COOKIE_SECRET}}"
                    }
                  }
                },
                "0be81209-afdd-436e-ac0c-6428c4b837ea": {
                  "icon": "https://cdn.simpleicons.org/redash/FF7964.svg",
                  "name": "redash-scheduler",
                  "deploy": {
                    "startCommand": "/app/bin/docker-entrypoint scheduler",
                    "healthcheckPath": null,
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redash/redash:26.3.0"
                  },
                  "variables": {
                    "REDASH_HOST": {
                      "isOptional": false,
                      "description": "Public base URL for links and emails",
                      "defaultValue": "https://${{redash-server.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "PYTHONUNBUFFERED": {
                      "isOptional": false,
                      "description": "Stream Python output to logs",
                      "defaultValue": "1"
                    },
                    "REDASH_LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Application log verbosity",
                      "defaultValue": "INFO"
                    },
                    "REDASH_REDIS_URL": {
                      "isOptional": false,
                      "description": "RQ broker for enqueued jobs",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "REDASH_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Shared data-source encryption key",
                      "defaultValue": "${{redash-server.REDASH_SECRET_KEY}}"
                    },
                    "REDASH_DATABASE_URL": {
                      "isOptional": false,
                      "description": "Redash metadata database",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "REDASH_COOKIE_SECRET": {
                      "isOptional": false,
                      "description": "Shared session signing key",
                      "defaultValue": "${{redash-server.REDASH_COOKIE_SECRET}}"
                    }
                  }
                },
                "12e682a0-d92c-42ea-bc80-d4eab7793677": {
                  "icon": "https://cdn.simpleicons.org/redash/FF7964.svg",
                  "name": "redash-server",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'for i in $(seq 1 30); do /app/manage.py database create_tables && break; echo \"waiting for database ($i)\"; sleep 5; done; /app/manage.py db upgrade; exec /app/bin/docker-entrypoint server'",
                    "healthcheckPath": "/ping",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redash/redash:26.3.0"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway health-checks",
                      "defaultValue": "5000"
                    },
                    "REDASH_HOST": {
                      "isOptional": false,
                      "description": "Public base URL for links and emails",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "PYTHONUNBUFFERED": {
                      "isOptional": false,
                      "description": "Stream Python output to logs",
                      "defaultValue": "1"
                    },
                    "REDASH_LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Application log verbosity",
                      "defaultValue": "INFO"
                    },
                    "REDASH_REDIS_URL": {
                      "isOptional": false,
                      "description": "RQ broker and rate-limit store",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "REDASH_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Encrypts stored data-source credentials",
                      "defaultValue": "{{REDASH_SECRET_KEY}}"
                    },
                    "REDASH_WEB_WORKERS": {
                      "isOptional": false,
                      "description": "gunicorn worker processes",
                      "defaultValue": "4"
                    },
                    "REDASH_DATABASE_URL": {
                      "isOptional": false,
                      "description": "Redash metadata database",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "REDASH_ENFORCE_CSRF": {
                      "isOptional": false,
                      "description": "CSRF validation on API requests",
                      "defaultValue": "true"
                    },
                    "REDASH_COOKIE_SECRET": {
                      "isOptional": false,
                      "description": "Session cookie signing key",
                      "defaultValue": "{{REDASH_COOKIE_SECRET}}"
                    },
                    "REDASH_ENFORCE_HTTPS": {
                      "isOptional": false,
                      "description": "HSTS and Secure cookies",
                      "defaultValue": "true"
                    },
                    "REDASH_PROXIES_COUNT": {
                      "isOptional": false,
                      "description": "Reverse proxy hops in front of Redash",
                      "defaultValue": "2"
                    },
                    "REDASH_GUNICORN_TIMEOUT": {
                      "isOptional": false,
                      "description": "Request timeout in seconds",
                      "defaultValue": "60"
                    },
                    "REDASH_RATELIMIT_ENABLED": {
                      "isOptional": false,
                      "description": "Throttle login attempts per IP",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:5000": {
                        "port": 5000
                      }
                    }
                  }
                },
                "24e2af20-50ff-4c66-8137-88b922ca651a": {
                  "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, read by the server",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "24e2af20-50ff-4c66-8137-88b922ca651a": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "4ba91b4c-1306-4175-93a4-66478f90afea": {
                  "icon": "https://cdn.simpleicons.org/redash/FF7964.svg",
                  "name": "redash-worker-scheduled",
                  "deploy": {
                    "startCommand": "/app/bin/docker-entrypoint worker",
                    "healthcheckPath": null,
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redash/redash:26.3.0"
                  },
                  "variables": {
                    "QUEUES": {
                      "isOptional": false,
                      "description": "RQ queues this worker drains",
                      "defaultValue": "scheduled_queries,schemas"
                    },
                    "REDASH_HOST": {
                      "isOptional": false,
                      "description": "Public base URL for links and emails",
                      "defaultValue": "https://${{redash-server.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "WORKERS_COUNT": {
                      "isOptional": false,
                      "description": "Worker processes in this service",
                      "defaultValue": "1"
                    },
                    "PYTHONUNBUFFERED": {
                      "isOptional": false,
                      "description": "Stream Python output to logs",
                      "defaultValue": "1"
                    },
                    "REDASH_LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Application log verbosity",
                      "defaultValue": "INFO"
                    },
                    "REDASH_REDIS_URL": {
                      "isOptional": false,
                      "description": "RQ broker for enqueued jobs",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "REDASH_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Shared data-source encryption key",
                      "defaultValue": "${{redash-server.REDASH_SECRET_KEY}}"
                    },
                    "REDASH_DATABASE_URL": {
                      "isOptional": false,
                      "description": "Redash metadata database",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "REDASH_COOKIE_SECRET": {
                      "isOptional": false,
                      "description": "Shared session signing key",
                      "defaultValue": "${{redash-server.REDASH_COOKIE_SECRET}}"
                    }
                  }
                },
                "9be0ad35-a1cd-49e9-a9db-ceef8130b84a": {
                  "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": {
                    "9be0ad35-a1cd-49e9-a9db-ceef8130b84a": {
                      "mountPath": "/data"
                    }
                  }
                },
                "fdcd9f1c-93f2-43f9-958d-fd5a6921d2e1": {
                  "icon": "https://cdn.simpleicons.org/redash/FF7964.svg",
                  "name": "redash-worker-default",
                  "deploy": {
                    "startCommand": "/app/bin/docker-entrypoint worker",
                    "healthcheckPath": null,
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redash/redash:26.3.0"
                  },
                  "variables": {
                    "QUEUES": {
                      "isOptional": false,
                      "description": "RQ queues this worker drains",
                      "defaultValue": "periodic,emails,default"
                    },
                    "REDASH_HOST": {
                      "isOptional": false,
                      "description": "Public base URL for links and emails",
                      "defaultValue": "https://${{redash-server.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "WORKERS_COUNT": {
                      "isOptional": false,
                      "description": "Worker processes in this service",
                      "defaultValue": "1"
                    },
                    "PYTHONUNBUFFERED": {
                      "isOptional": false,
                      "description": "Stream Python output to logs",
                      "defaultValue": "1"
                    },
                    "REDASH_LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Application log verbosity",
                      "defaultValue": "INFO"
                    },
                    "REDASH_REDIS_URL": {
                      "isOptional": false,
                      "description": "RQ broker for enqueued jobs",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "REDASH_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Shared data-source encryption key",
                      "defaultValue": "${{redash-server.REDASH_SECRET_KEY}}"
                    },
                    "REDASH_DATABASE_URL": {
                      "isOptional": false,
                      "description": "Redash metadata database",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "REDASH_COOKIE_SECRET": {
                      "isOptional": false,
                      "description": "Shared session signing key",
                      "defaultValue": "${{redash-server.REDASH_COOKIE_SECRET}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "redash-server",
      "method": "GET",
      "path": "/ping",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 7,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T13:42:57.891Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_65ecfd8711eb4372a958",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 136,
    "typical_build_seconds": 0,
    "typical_start_seconds": 20,
    "slowest_service": "redash-scheduler"
  }
}
