{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e70eb097-acee-4ced-a737-ba9846c4c3a7",
    "slug": "apache-superset-6-bi-dashboards",
    "name": "Apache Superset 6 BI Dashboards",
    "description": "BI dashboards on Postgres, MySQL, ClickHouse and more. Async workers.",
    "url": "https://railway.com/deploy/apache-superset-6-bi-dashboards",
    "upstream": {
      "repo_url": "https://github.com/baranberkay96/superset-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": "superset",
      "source": {
        "repo": "https://github.com/baranberkay96/superset-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "superset-init",
      "source": {
        "repo": "https://github.com/baranberkay96/superset-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "superset-worker",
      "source": {
        "repo": "https://github.com/baranberkay96/superset-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "superset-beat",
      "source": {
        "repo": "https://github.com/baranberkay96/superset-railway"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Location where the database will be initialized",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Railway Private Domain Name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Port to connect to Postgres.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Required variable for the data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database created when image is started.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "URL to connect to Postgres database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "User to connect to Postgres DB",
      "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": "Password to connect to DB",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Allow Postgres to cleanly shut down",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "superset",
      "description": "Gunicorn port (Railway healthcheck + domain).",
      "secret": false,
      "strategy": "default",
      "default": "8088"
    },
    {
      "key": "SUPERSET_ENV",
      "service": "superset",
      "description": "Production mode (enables rate limiting).",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "SUPERSET_PORT",
      "service": "superset",
      "description": "Port read by the image's run-server.sh.",
      "secret": false,
      "strategy": "default",
      "default": "8088"
    },
    {
      "key": "GUNICORN_TIMEOUT",
      "service": "superset",
      "description": "Request timeout (s); keep >= SUPERSET_WEBSERVER_TIMEOUT.",
      "secret": false,
      "strategy": "default",
      "default": "120"
    },
    {
      "key": "SUPERSET_REDIS_URL",
      "service": "superset",
      "description": "Redis for Celery broker/results, caches and rate limiting (DBs 0-8).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERSET_PUBLIC_URL",
      "service": "superset",
      "description": "Public URL used in report/alert links.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SUPERSET_SECRET_KEY",
      "service": "superset",
      "description": "Flask secret key; encrypts stored DB passwords. Shared by all Superset services. Never change after first boot.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SERVER_WORKER_AMOUNT",
      "service": "superset",
      "description": "Gunicorn worker processes.",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "SUPERSET_ADMIN_EMAIL",
      "service": "superset",
      "description": "Admin email.",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "SERVER_THREADS_AMOUNT",
      "service": "superset",
      "description": "Threads per gunicorn worker.",
      "secret": false,
      "strategy": "default",
      "default": "20"
    },
    {
      "key": "SUPERSET_DATABASE_URL",
      "service": "superset",
      "description": "Superset metadata database (Railway Postgres).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERSET_ADMIN_PASSWORD",
      "service": "superset",
      "description": "Admin password (generated). Only applied when the admin is first created.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SUPERSET_ADMIN_USERNAME",
      "service": "superset",
      "description": "Admin login created by superset-init.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "SUPERSET_WEBSERVER_TIMEOUT",
      "service": "superset",
      "description": "Superset query timeout for synchronous requests (s).",
      "secret": false,
      "strategy": "default",
      "default": "120"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Private network hostname of the Redis service, only resolvable from services in the same environment",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Port that Redis listens on",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Username for authenticating with Redis",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Connection string for connecting to Redis using the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Alias of REDIS_PASSWORD for clients that expect the unseparated name",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Randomly generated password for authenticating with Redis",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SUPERSET_ENV",
      "service": "superset-init",
      "description": "Production mode (enables rate limiting).",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "SUPERSET_REDIS_URL",
      "service": "superset-init",
      "description": "Redis for Celery broker/results, caches and rate limiting (DBs 0-8).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERSET_SECRET_KEY",
      "service": "superset-init",
      "description": "Same value as on superset.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERSET_ADMIN_EMAIL",
      "service": "superset-init",
      "description": "Same value as on superset.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERSET_DATABASE_URL",
      "service": "superset-init",
      "description": "Superset metadata database (Railway Postgres).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERSET_ADMIN_PASSWORD",
      "service": "superset-init",
      "description": "Same value as on superset.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERSET_ADMIN_USERNAME",
      "service": "superset-init",
      "description": "Same value as on superset.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERSET_ENV",
      "service": "superset-worker",
      "description": "Production mode (enables rate limiting).",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "SUPERSET_REDIS_URL",
      "service": "superset-worker",
      "description": "Redis for Celery broker/results, caches and rate limiting (DBs 0-8).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERSET_PUBLIC_URL",
      "service": "superset-worker",
      "description": "Same value as on superset.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERSET_SECRET_KEY",
      "service": "superset-worker",
      "description": "Same value as on superset.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERSET_DATABASE_URL",
      "service": "superset-worker",
      "description": "Superset metadata database (Railway Postgres).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERSET_INSTALL_BROWSER",
      "service": "superset-worker",
      "description": "Build ARG: install Playwright + Chromium in this service's image (report screenshots).",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SUPERSET_WEBDRIVER_BASEURL",
      "service": "superset-worker",
      "description": "Where the worker's headless browser loads dashboards (private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SUPERSET_CELERY_CONCURRENCY",
      "service": "superset-worker",
      "description": "Celery processes per worker replica.",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "superset-worker",
      "description": "Time running tasks get to finish on redeploy.",
      "secret": false,
      "strategy": "default",
      "default": "120"
    },
    {
      "key": "SUPERSET_ENV",
      "service": "superset-beat",
      "description": "Production mode (enables rate limiting).",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "SUPERSET_REDIS_URL",
      "service": "superset-beat",
      "description": "Redis for Celery broker/results, caches and rate limiting (DBs 0-8).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERSET_SECRET_KEY",
      "service": "superset-beat",
      "description": "Same value as on superset.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SUPERSET_DATABASE_URL",
      "service": "superset-beat",
      "description": "Superset metadata database (Railway Postgres).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "apache-superset-6-bi-dashboards"
      }
    },
    "cli": "railway deploy --template apache-superset-6-bi-dashboards",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e70eb097-acee-4ced-a737-ba9846c4c3a7",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "41e30fb1-65e7-5ce5-9649-a878a8fd6454": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Port to connect to Postgres.",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Required variable for the data panel.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database created when image is started.",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Postgres database.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "User to connect to Postgres DB",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": true,
                      "description": "SSL certificate expiry in days.",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Password to connect to DB",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Allow Postgres to cleanly shut down",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "b5acc680-74b3-5d63-be80-bd965abac6ba": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "4ae4102d-e463-5ce2-85e5-2de474d5f25e": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-superset.svg",
                  "name": "superset",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "startCommand": "/usr/local/bin/superset-railway web",
                    "healthcheckPath": "/health",
                    "preDeployCommand": [
                      "/usr/local/bin/superset-railway migrate"
                    ],
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 900,
                    "preDeployTimeoutSeconds": 900,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/superset-railway",
                    "branch": "main",
                    "rootDirectory": "/services/superset"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Gunicorn port (Railway healthcheck + domain).",
                      "defaultValue": "8088"
                    },
                    "SUPERSET_ENV": {
                      "isOptional": true,
                      "description": "Production mode (enables rate limiting).",
                      "defaultValue": "production"
                    },
                    "SUPERSET_PORT": {
                      "isOptional": true,
                      "description": "Port read by the image's run-server.sh.",
                      "defaultValue": "8088"
                    },
                    "GUNICORN_TIMEOUT": {
                      "isOptional": true,
                      "description": "Request timeout (s); keep >= SUPERSET_WEBSERVER_TIMEOUT.",
                      "defaultValue": "120"
                    },
                    "SUPERSET_REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis for Celery broker/results, caches and rate limiting (DBs 0-8).",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "SUPERSET_PUBLIC_URL": {
                      "isOptional": true,
                      "description": "Public URL used in report/alert links.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}/"
                    },
                    "SUPERSET_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Flask secret key; encrypts stored DB passwords. Shared by all Superset services. Never change after first boot.",
                      "defaultValue": "{{SUPERSET_SECRET_KEY}}"
                    },
                    "SERVER_WORKER_AMOUNT": {
                      "isOptional": true,
                      "description": "Gunicorn worker processes.",
                      "defaultValue": "2"
                    },
                    "SUPERSET_ADMIN_EMAIL": {
                      "isOptional": true,
                      "description": "Admin email.",
                      "defaultValue": "admin@example.com"
                    },
                    "SERVER_THREADS_AMOUNT": {
                      "isOptional": true,
                      "description": "Threads per gunicorn worker.",
                      "defaultValue": "20"
                    },
                    "SUPERSET_DATABASE_URL": {
                      "isOptional": false,
                      "description": "Superset metadata database (Railway Postgres).",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "SUPERSET_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin password (generated). Only applied when the admin is first created.",
                      "defaultValue": "{{SUPERSET_ADMIN_PASSWORD}}"
                    },
                    "SUPERSET_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "Admin login created by superset-init.",
                      "defaultValue": "admin"
                    },
                    "SUPERSET_WEBSERVER_TIMEOUT": {
                      "isOptional": true,
                      "description": "Superset query timeout for synchronous requests (s).",
                      "defaultValue": "120"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8088": {
                        "port": 8088
                      }
                    }
                  }
                },
                "4b1f45a0-db86-5fe3-95cf-b6314ecdd496": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.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\"",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Private network hostname of the Redis service, only resolvable from services in the same environment",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Port that Redis listens on",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Username for authenticating with Redis",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Connection string for connecting to Redis using the private network",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Alias of REDIS_PASSWORD for clients that expect the unseparated name",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Randomly generated password for authenticating with Redis",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "e4e9fbac-1deb-5a05-a791-fbfa011f5b43": {
                      "mountPath": "/data"
                    }
                  }
                },
                "857f726c-8faa-52a9-b3a3-8e847aac9732": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-superset.svg",
                  "name": "superset-init",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "startCommand": "/usr/local/bin/superset-railway init",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "repo": "baranberkay96/superset-railway",
                    "branch": "main",
                    "rootDirectory": "/services/superset"
                  },
                  "variables": {
                    "SUPERSET_ENV": {
                      "isOptional": true,
                      "description": "Production mode (enables rate limiting).",
                      "defaultValue": "production"
                    },
                    "SUPERSET_REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis for Celery broker/results, caches and rate limiting (DBs 0-8).",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "SUPERSET_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Same value as on superset.",
                      "defaultValue": "${{superset.SUPERSET_SECRET_KEY}}"
                    },
                    "SUPERSET_ADMIN_EMAIL": {
                      "isOptional": true,
                      "description": "Same value as on superset.",
                      "defaultValue": "${{superset.SUPERSET_ADMIN_EMAIL}}"
                    },
                    "SUPERSET_DATABASE_URL": {
                      "isOptional": false,
                      "description": "Superset metadata database (Railway Postgres).",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "SUPERSET_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Same value as on superset.",
                      "defaultValue": "${{superset.SUPERSET_ADMIN_PASSWORD}}"
                    },
                    "SUPERSET_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "Same value as on superset.",
                      "defaultValue": "${{superset.SUPERSET_ADMIN_USERNAME}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "bdb3da45-b4f5-5e29-8f42-97b3ca9a57e3": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-superset.svg",
                  "name": "superset-worker",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "startCommand": "/usr/local/bin/superset-railway worker",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/superset-railway",
                    "branch": "main",
                    "rootDirectory": "/services/superset"
                  },
                  "variables": {
                    "SUPERSET_ENV": {
                      "isOptional": true,
                      "description": "Production mode (enables rate limiting).",
                      "defaultValue": "production"
                    },
                    "SUPERSET_REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis for Celery broker/results, caches and rate limiting (DBs 0-8).",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "SUPERSET_PUBLIC_URL": {
                      "isOptional": true,
                      "description": "Same value as on superset.",
                      "defaultValue": "${{superset.SUPERSET_PUBLIC_URL}}"
                    },
                    "SUPERSET_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Same value as on superset.",
                      "defaultValue": "${{superset.SUPERSET_SECRET_KEY}}"
                    },
                    "SUPERSET_DATABASE_URL": {
                      "isOptional": false,
                      "description": "Superset metadata database (Railway Postgres).",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "SUPERSET_INSTALL_BROWSER": {
                      "isOptional": true,
                      "description": "Build ARG: install Playwright + Chromium in this service's image (report screenshots).",
                      "defaultValue": "true"
                    },
                    "SUPERSET_WEBDRIVER_BASEURL": {
                      "isOptional": true,
                      "description": "Where the worker's headless browser loads dashboards (private network).",
                      "defaultValue": "http://${{superset.RAILWAY_PRIVATE_DOMAIN}}:8088/"
                    },
                    "SUPERSET_CELERY_CONCURRENCY": {
                      "isOptional": true,
                      "description": "Celery processes per worker replica.",
                      "defaultValue": "4"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Time running tasks get to finish on redeploy.",
                      "defaultValue": "120"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "f8da5700-bbf7-5a6c-8352-f5e6bb24e698": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-superset.svg",
                  "name": "superset-beat",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "startCommand": "/usr/local/bin/superset-railway beat",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/superset-railway",
                    "branch": "main",
                    "rootDirectory": "/services/superset"
                  },
                  "variables": {
                    "SUPERSET_ENV": {
                      "isOptional": true,
                      "description": "Production mode (enables rate limiting).",
                      "defaultValue": "production"
                    },
                    "SUPERSET_REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis for Celery broker/results, caches and rate limiting (DBs 0-8).",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "SUPERSET_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Same value as on superset.",
                      "defaultValue": "${{superset.SUPERSET_SECRET_KEY}}"
                    },
                    "SUPERSET_DATABASE_URL": {
                      "isOptional": false,
                      "description": "Superset metadata database (Railway Postgres).",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "superset",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 6,
    "needs_volume": true
  },
  "generated_at": "2026-10-11T16:14:40.554Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-11T14:40:16.958Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f95b3fefdb3e4be1b7a2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 158,
    "typical_build_seconds": 131,
    "typical_start_seconds": 10,
    "slowest_service": "superset-worker"
  }
}
