{
  "manifest_version": "1.0.0",
  "template": {
    "id": "fbb8a95a-f487-4b60-a6ae-4e7f68fa4b4a",
    "slug": "apache-airflow-3-data-pipelines",
    "name": "Apache Airflow 3 Data Pipelines",
    "description": "Schedule and monitor DAGs with Celery workers, Redis and Postgres.",
    "url": "https://railway.com/deploy/apache-airflow-3-data-pipelines",
    "upstream": {
      "repo_url": "https://github.com/baranberkay96/airflow-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": "airflow-dag-processor",
      "source": {
        "repo": "https://github.com/baranberkay96/airflow-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "airflow-worker",
      "source": {
        "repo": "https://github.com/baranberkay96/airflow-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "airflow-apiserver",
      "source": {
        "repo": "https://github.com/baranberkay96/airflow-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "airflow-triggerer",
      "source": {
        "repo": "https://github.com/baranberkay96/airflow-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "airflow-scheduler",
      "source": {
        "repo": "https://github.com/baranberkay96/airflow-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "airflow-init",
      "source": {
        "repo": "https://github.com/baranberkay96/airflow-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": "AIRFLOW_DAGS_GIT_REF",
      "service": "airflow-dag-processor",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_URL",
      "service": "airflow-dag-processor",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_SUBDIR",
      "service": "airflow-dag-processor",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__API__SECRET_KEY",
      "service": "airflow-dag-processor",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_REFRESH_SECS",
      "service": "airflow-dag-processor",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__CORE__FERNET_KEY",
      "service": "airflow-dag-processor",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_CONN_RAILWAY_BUCKET",
      "service": "airflow-dag-processor",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__CELERY__BROKER_URL",
      "service": "airflow-dag-processor",
      "description": "Celery broker (Railway Redis, DB 0).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__API_AUTH__JWT_SECRET",
      "service": "airflow-dag-processor",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_LOGGING",
      "service": "airflow-dag-processor",
      "description": "Ship task logs to the Railway Bucket.",
      "secret": false,
      "strategy": "default",
      "default": "True"
    },
    {
      "key": "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN",
      "service": "airflow-dag-processor",
      "description": "Metadata database (Railway Postgres, private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID",
      "service": "airflow-dag-processor",
      "description": "Airflow connection used for remote logs.",
      "secret": false,
      "strategy": "default",
      "default": "railway_bucket"
    },
    {
      "key": "AIRFLOW__CORE__EXECUTION_API_SERVER_URL",
      "service": "airflow-dag-processor",
      "description": "Task Execution API that workers/triggerer call (private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER",
      "service": "airflow-dag-processor",
      "description": "Bucket path for task logs.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_REF",
      "service": "airflow-worker",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_URL",
      "service": "airflow-worker",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_SUBDIR",
      "service": "airflow-worker",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__API__SECRET_KEY",
      "service": "airflow-worker",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_REFRESH_SECS",
      "service": "airflow-worker",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__CORE__FERNET_KEY",
      "service": "airflow-worker",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_CONN_RAILWAY_BUCKET",
      "service": "airflow-worker",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__CELERY__BROKER_URL",
      "service": "airflow-worker",
      "description": "Celery broker (Railway Redis, DB 0).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__API_AUTH__JWT_SECRET",
      "service": "airflow-worker",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_LOGGING",
      "service": "airflow-worker",
      "description": "Ship task logs to the Railway Bucket.",
      "secret": false,
      "strategy": "default",
      "default": "True"
    },
    {
      "key": "AIRFLOW__CELERY__WORKER_CONCURRENCY",
      "service": "airflow-worker",
      "description": "Task slots per worker replica.",
      "secret": false,
      "strategy": "default",
      "default": "8"
    },
    {
      "key": "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN",
      "service": "airflow-worker",
      "description": "Metadata database (Railway Postgres, private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "airflow-worker",
      "description": "Time running tasks get to finish on redeploy (Celery warm shutdown).",
      "secret": false,
      "strategy": "default",
      "default": "300"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID",
      "service": "airflow-worker",
      "description": "Airflow connection used for remote logs.",
      "secret": false,
      "strategy": "default",
      "default": "railway_bucket"
    },
    {
      "key": "AIRFLOW__CORE__EXECUTION_API_SERVER_URL",
      "service": "airflow-worker",
      "description": "Task Execution API that workers/triggerer call (private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER",
      "service": "airflow-worker",
      "description": "Bucket path for task logs.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "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": "PORT",
      "service": "airflow-apiserver",
      "description": "API server port (Railway healthcheck + domain).",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "AIRFLOW__API__HOST",
      "service": "airflow-apiserver",
      "description": "Dual-stack bind so IPv4 and IPv6 private-network clients both reach the API.",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "AIRFLOW__API__PORT",
      "service": "airflow-apiserver",
      "description": "Port uvicorn listens on.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "AIRFLOW_ADMIN_EMAIL",
      "service": "airflow-apiserver",
      "description": "Admin email.",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "FORWARDED_ALLOW_IPS",
      "service": "airflow-apiserver",
      "description": "Trust X-Forwarded-* from Railway's proxy (HTTPS links).",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_REF",
      "service": "airflow-apiserver",
      "description": "Branch, tag or commit to track.",
      "secret": false,
      "strategy": "default",
      "default": "main"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_URL",
      "service": "airflow-apiserver",
      "description": "Git repo holding your DAGs (GitDagBundle). Empty = example DAGs baked into the image.",
      "secret": false,
      "strategy": "default",
      "default": "https://github.com/baranberkay96/airflow-railway.git"
    },
    {
      "key": "AIRFLOW__API__WORKERS",
      "service": "airflow-apiserver",
      "description": "Uvicorn worker processes (>1 also enables the dual-stack socket).",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "AIRFLOW_ADMIN_PASSWORD",
      "service": "airflow-apiserver",
      "description": "Admin password (generated). Only used on first creation.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "AIRFLOW_ADMIN_USERNAME",
      "service": "airflow-apiserver",
      "description": "Admin login created by airflow-init.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "AIRFLOW__API__BASE_URL",
      "service": "airflow-apiserver",
      "description": "Public URL of the UI.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_SUBDIR",
      "service": "airflow-apiserver",
      "description": "Folder inside the repo that contains the DAG files (empty = repo root).",
      "secret": false,
      "strategy": "default",
      "default": "services/airflow/dags"
    },
    {
      "key": "AIRFLOW__API__SECRET_KEY",
      "service": "airflow-apiserver",
      "description": "API/log-server secret. Shared by all Airflow services.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AIRFLOW_DAGS_REFRESH_SECS",
      "service": "airflow-apiserver",
      "description": "How often Airflow fetches new commits.",
      "secret": false,
      "strategy": "default",
      "default": "120"
    },
    {
      "key": "AIRFLOW__CORE__FERNET_KEY",
      "service": "airflow-apiserver",
      "description": "Fernet key that encrypts connections/variables. Shared by all Airflow services; never change after first boot.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AIRFLOW_CONN_RAILWAY_BUCKET",
      "service": "airflow-apiserver",
      "description": "Airflow connection (JSON) for the Railway Bucket; used for remote task logs.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__CELERY__BROKER_URL",
      "service": "airflow-apiserver",
      "description": "Celery broker (Railway Redis, DB 0).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__API_AUTH__JWT_SECRET",
      "service": "airflow-apiserver",
      "description": "Signs task-execution JWTs. Shared by all Airflow services.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_LOGGING",
      "service": "airflow-apiserver",
      "description": "Ship task logs to the Railway Bucket.",
      "secret": false,
      "strategy": "default",
      "default": "True"
    },
    {
      "key": "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN",
      "service": "airflow-apiserver",
      "description": "Metadata database (Railway Postgres, private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID",
      "service": "airflow-apiserver",
      "description": "Airflow connection used for remote logs.",
      "secret": false,
      "strategy": "default",
      "default": "railway_bucket"
    },
    {
      "key": "AIRFLOW__CORE__EXECUTION_API_SERVER_URL",
      "service": "airflow-apiserver",
      "description": "Task Execution API that workers/triggerer call (private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER",
      "service": "airflow-apiserver",
      "description": "Bucket path for task logs.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_REF",
      "service": "airflow-triggerer",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_URL",
      "service": "airflow-triggerer",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_SUBDIR",
      "service": "airflow-triggerer",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__API__SECRET_KEY",
      "service": "airflow-triggerer",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_REFRESH_SECS",
      "service": "airflow-triggerer",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__CORE__FERNET_KEY",
      "service": "airflow-triggerer",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_CONN_RAILWAY_BUCKET",
      "service": "airflow-triggerer",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__CELERY__BROKER_URL",
      "service": "airflow-triggerer",
      "description": "Celery broker (Railway Redis, DB 0).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__API_AUTH__JWT_SECRET",
      "service": "airflow-triggerer",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_LOGGING",
      "service": "airflow-triggerer",
      "description": "Ship task logs to the Railway Bucket.",
      "secret": false,
      "strategy": "default",
      "default": "True"
    },
    {
      "key": "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN",
      "service": "airflow-triggerer",
      "description": "Metadata database (Railway Postgres, private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID",
      "service": "airflow-triggerer",
      "description": "Airflow connection used for remote logs.",
      "secret": false,
      "strategy": "default",
      "default": "railway_bucket"
    },
    {
      "key": "AIRFLOW__CORE__EXECUTION_API_SERVER_URL",
      "service": "airflow-triggerer",
      "description": "Task Execution API that workers/triggerer call (private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER",
      "service": "airflow-triggerer",
      "description": "Bucket path for task logs.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "airflow-scheduler",
      "description": "Scheduler health server port (Railway probes /health).",
      "secret": false,
      "strategy": "default",
      "default": "8974"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_REF",
      "service": "airflow-scheduler",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_URL",
      "service": "airflow-scheduler",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_SUBDIR",
      "service": "airflow-scheduler",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__API__SECRET_KEY",
      "service": "airflow-scheduler",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_REFRESH_SECS",
      "service": "airflow-scheduler",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__CORE__FERNET_KEY",
      "service": "airflow-scheduler",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_CONN_RAILWAY_BUCKET",
      "service": "airflow-scheduler",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__CELERY__BROKER_URL",
      "service": "airflow-scheduler",
      "description": "Celery broker (Railway Redis, DB 0).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__API_AUTH__JWT_SECRET",
      "service": "airflow-scheduler",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_LOGGING",
      "service": "airflow-scheduler",
      "description": "Ship task logs to the Railway Bucket.",
      "secret": false,
      "strategy": "default",
      "default": "True"
    },
    {
      "key": "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN",
      "service": "airflow-scheduler",
      "description": "Metadata database (Railway Postgres, private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID",
      "service": "airflow-scheduler",
      "description": "Airflow connection used for remote logs.",
      "secret": false,
      "strategy": "default",
      "default": "railway_bucket"
    },
    {
      "key": "AIRFLOW__CORE__EXECUTION_API_SERVER_URL",
      "service": "airflow-scheduler",
      "description": "Task Execution API that workers/triggerer call (private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER",
      "service": "airflow-scheduler",
      "description": "Bucket path for task logs.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__SCHEDULER__SCHEDULER_HEALTH_CHECK_SERVER_PORT",
      "service": "airflow-scheduler",
      "description": "Scheduler health server port.",
      "secret": false,
      "strategy": "default",
      "default": "8974"
    },
    {
      "key": "AIRFLOW_ADMIN_EMAIL",
      "service": "airflow-init",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_REF",
      "service": "airflow-init",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_URL",
      "service": "airflow-init",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_ADMIN_PASSWORD",
      "service": "airflow-init",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_ADMIN_USERNAME",
      "service": "airflow-init",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_GIT_SUBDIR",
      "service": "airflow-init",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__API__SECRET_KEY",
      "service": "airflow-init",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_DAGS_REFRESH_SECS",
      "service": "airflow-init",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__CORE__FERNET_KEY",
      "service": "airflow-init",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_CONN_RAILWAY_BUCKET",
      "service": "airflow-init",
      "description": "Same value as on airflow-apiserver.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__CELERY__BROKER_URL",
      "service": "airflow-init",
      "description": "Celery broker (Railway Redis, DB 0).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__API_AUTH__JWT_SECRET",
      "service": "airflow-init",
      "description": "Same value as on airflow-apiserver.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_LOGGING",
      "service": "airflow-init",
      "description": "Ship task logs to the Railway Bucket.",
      "secret": false,
      "strategy": "default",
      "default": "True"
    },
    {
      "key": "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN",
      "service": "airflow-init",
      "description": "Metadata database (Railway Postgres, private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID",
      "service": "airflow-init",
      "description": "Airflow connection used for remote logs.",
      "secret": false,
      "strategy": "default",
      "default": "railway_bucket"
    },
    {
      "key": "AIRFLOW__CORE__EXECUTION_API_SERVER_URL",
      "service": "airflow-init",
      "description": "Task Execution API that workers/triggerer call (private network).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER",
      "service": "airflow-init",
      "description": "Bucket path for task logs.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "apache-airflow-3-data-pipelines"
      }
    },
    "cli": "railway deploy --template apache-airflow-3-data-pipelines",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "fbb8a95a-f487-4b60-a6ae-4e7f68fa4b4a",
            "serializedConfig": {
              "buckets": {
                "8ad5b632-4104-5038-b8ce-8d3a25cfad2b": {
                  "name": "Bucket"
                }
              },
              "services": {
                "3a20b1fa-42f7-5532-82a0-af8dd4883ff4": {
                  "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": {
                    "4aaa3199-bcd7-5b67-a715-7a8a7a03c06d": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "483dc60d-9cc4-5920-9bc5-f8afe2cbb1dd": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-airflow.svg",
                  "name": "airflow-dag-processor",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "startCommand": "/opt/railway/bin/railway-airflow dag-processor",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/airflow-railway",
                    "branch": "main",
                    "rootDirectory": "/services/airflow"
                  },
                  "variables": {
                    "AIRFLOW_DAGS_GIT_REF": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_REF}}"
                    },
                    "AIRFLOW_DAGS_GIT_URL": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_URL}}"
                    },
                    "AIRFLOW_DAGS_GIT_SUBDIR": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_SUBDIR}}"
                    },
                    "AIRFLOW__API__SECRET_KEY": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__API__SECRET_KEY}}"
                    },
                    "AIRFLOW_DAGS_REFRESH_SECS": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_REFRESH_SECS}}"
                    },
                    "AIRFLOW__CORE__FERNET_KEY": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__CORE__FERNET_KEY}}"
                    },
                    "AIRFLOW_CONN_RAILWAY_BUCKET": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_CONN_RAILWAY_BUCKET}}"
                    },
                    "AIRFLOW__CELERY__BROKER_URL": {
                      "isOptional": false,
                      "description": "Celery broker (Railway Redis, DB 0).",
                      "defaultValue": "${{Redis.REDIS_URL}}/0"
                    },
                    "AIRFLOW__API_AUTH__JWT_SECRET": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__API_AUTH__JWT_SECRET}}"
                    },
                    "AIRFLOW__LOGGING__REMOTE_LOGGING": {
                      "isOptional": true,
                      "description": "Ship task logs to the Railway Bucket.",
                      "defaultValue": "True"
                    },
                    "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN": {
                      "isOptional": false,
                      "description": "Metadata database (Railway Postgres, private network).",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID": {
                      "isOptional": true,
                      "description": "Airflow connection used for remote logs.",
                      "defaultValue": "railway_bucket"
                    },
                    "AIRFLOW__CORE__EXECUTION_API_SERVER_URL": {
                      "isOptional": false,
                      "description": "Task Execution API that workers/triggerer call (private network).",
                      "defaultValue": "http://${{airflow-apiserver.RAILWAY_PRIVATE_DOMAIN}}:8080/execution/"
                    },
                    "AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER": {
                      "isOptional": true,
                      "description": "Bucket path for task logs.",
                      "defaultValue": "s3://${{Bucket.BUCKET}}/task-logs"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "778de643-1eff-5808-8b96-cc67971ee3a7": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-airflow.svg",
                  "name": "airflow-worker",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "startCommand": "/opt/railway/bin/railway-airflow worker",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/airflow-railway",
                    "branch": "main",
                    "rootDirectory": "/services/airflow"
                  },
                  "variables": {
                    "AIRFLOW_DAGS_GIT_REF": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_REF}}"
                    },
                    "AIRFLOW_DAGS_GIT_URL": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_URL}}"
                    },
                    "AIRFLOW_DAGS_GIT_SUBDIR": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_SUBDIR}}"
                    },
                    "AIRFLOW__API__SECRET_KEY": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__API__SECRET_KEY}}"
                    },
                    "AIRFLOW_DAGS_REFRESH_SECS": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_REFRESH_SECS}}"
                    },
                    "AIRFLOW__CORE__FERNET_KEY": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__CORE__FERNET_KEY}}"
                    },
                    "AIRFLOW_CONN_RAILWAY_BUCKET": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_CONN_RAILWAY_BUCKET}}"
                    },
                    "AIRFLOW__CELERY__BROKER_URL": {
                      "isOptional": false,
                      "description": "Celery broker (Railway Redis, DB 0).",
                      "defaultValue": "${{Redis.REDIS_URL}}/0"
                    },
                    "AIRFLOW__API_AUTH__JWT_SECRET": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__API_AUTH__JWT_SECRET}}"
                    },
                    "AIRFLOW__LOGGING__REMOTE_LOGGING": {
                      "isOptional": true,
                      "description": "Ship task logs to the Railway Bucket.",
                      "defaultValue": "True"
                    },
                    "AIRFLOW__CELERY__WORKER_CONCURRENCY": {
                      "isOptional": true,
                      "description": "Task slots per worker replica.",
                      "defaultValue": "8"
                    },
                    "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN": {
                      "isOptional": false,
                      "description": "Metadata database (Railway Postgres, private network).",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Time running tasks get to finish on redeploy (Celery warm shutdown).",
                      "defaultValue": "300"
                    },
                    "AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID": {
                      "isOptional": true,
                      "description": "Airflow connection used for remote logs.",
                      "defaultValue": "railway_bucket"
                    },
                    "AIRFLOW__CORE__EXECUTION_API_SERVER_URL": {
                      "isOptional": false,
                      "description": "Task Execution API that workers/triggerer call (private network).",
                      "defaultValue": "http://${{airflow-apiserver.RAILWAY_PRIVATE_DOMAIN}}:8080/execution/"
                    },
                    "AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER": {
                      "isOptional": true,
                      "description": "Bucket path for task logs.",
                      "defaultValue": "s3://${{Bucket.BUCKET}}/task-logs"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "85ad2f66-72c6-5e29-a177-08b962008244": {
                  "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": {
                    "bdfac3be-a717-555b-ae19-7187a4fde1b9": {
                      "mountPath": "/data"
                    }
                  }
                },
                "cf131994-a3d0-51f5-8d58-3ae390204e17": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-airflow.svg",
                  "name": "airflow-apiserver",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "startCommand": "/opt/railway/bin/railway-airflow api-server",
                    "healthcheckPath": "/api/v2/monitor/health",
                    "preDeployCommand": [
                      "/opt/railway/bin/railway-airflow migrate"
                    ],
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 900,
                    "preDeployTimeoutSeconds": 900,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/airflow-railway",
                    "branch": "main",
                    "rootDirectory": "/services/airflow"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "API server port (Railway healthcheck + domain).",
                      "defaultValue": "8080"
                    },
                    "AIRFLOW__API__HOST": {
                      "isOptional": true,
                      "description": "Dual-stack bind so IPv4 and IPv6 private-network clients both reach the API.",
                      "defaultValue": "::"
                    },
                    "AIRFLOW__API__PORT": {
                      "isOptional": true,
                      "description": "Port uvicorn listens on.",
                      "defaultValue": "8080"
                    },
                    "AIRFLOW_ADMIN_EMAIL": {
                      "isOptional": true,
                      "description": "Admin email.",
                      "defaultValue": "admin@example.com"
                    },
                    "FORWARDED_ALLOW_IPS": {
                      "isOptional": true,
                      "description": "Trust X-Forwarded-* from Railway's proxy (HTTPS links).",
                      "defaultValue": "*"
                    },
                    "AIRFLOW_DAGS_GIT_REF": {
                      "isOptional": true,
                      "description": "Branch, tag or commit to track.",
                      "defaultValue": "main"
                    },
                    "AIRFLOW_DAGS_GIT_URL": {
                      "isOptional": true,
                      "description": "Git repo holding your DAGs (GitDagBundle). Empty = example DAGs baked into the image.",
                      "defaultValue": "https://github.com/baranberkay96/airflow-railway.git"
                    },
                    "AIRFLOW__API__WORKERS": {
                      "isOptional": true,
                      "description": "Uvicorn worker processes (>1 also enables the dual-stack socket).",
                      "defaultValue": "2"
                    },
                    "AIRFLOW_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin password (generated). Only used on first creation.",
                      "defaultValue": "{{AIRFLOW_ADMIN_PASSWORD}}"
                    },
                    "AIRFLOW_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "Admin login created by airflow-init.",
                      "defaultValue": "admin"
                    },
                    "AIRFLOW__API__BASE_URL": {
                      "isOptional": true,
                      "description": "Public URL of the UI.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "AIRFLOW_DAGS_GIT_SUBDIR": {
                      "isOptional": true,
                      "description": "Folder inside the repo that contains the DAG files (empty = repo root).",
                      "defaultValue": "services/airflow/dags"
                    },
                    "AIRFLOW__API__SECRET_KEY": {
                      "isOptional": false,
                      "description": "API/log-server secret. Shared by all Airflow services.",
                      "defaultValue": "{{AIRFLOW__API__SECRET_KEY}}"
                    },
                    "AIRFLOW_DAGS_REFRESH_SECS": {
                      "isOptional": true,
                      "description": "How often Airflow fetches new commits.",
                      "defaultValue": "120"
                    },
                    "AIRFLOW__CORE__FERNET_KEY": {
                      "isOptional": false,
                      "description": "Fernet key that encrypts connections/variables. Shared by all Airflow services; never change after first boot.",
                      "defaultValue": "{{AIRFLOW__CORE__FERNET_KEY}}"
                    },
                    "AIRFLOW_CONN_RAILWAY_BUCKET": {
                      "isOptional": false,
                      "description": "Airflow connection (JSON) for the Railway Bucket; used for remote task logs.",
                      "defaultValue": "{\"conn_type\": \"aws\", \"login\": \"${{Bucket.ACCESS_KEY_ID}}\", \"password\": \"${{Bucket.SECRET_ACCESS_KEY}}\", \"extra\": {\"endpoint_url\": \"${{Bucket.ENDPOINT}}\", \"region_name\": \"${{Bucket.REGION}}\", \"config_kwargs\": {\"s3\": {\"addressing_style\": \"virtual\"}}}}"
                    },
                    "AIRFLOW__CELERY__BROKER_URL": {
                      "isOptional": false,
                      "description": "Celery broker (Railway Redis, DB 0).",
                      "defaultValue": "${{Redis.REDIS_URL}}/0"
                    },
                    "AIRFLOW__API_AUTH__JWT_SECRET": {
                      "isOptional": false,
                      "description": "Signs task-execution JWTs. Shared by all Airflow services.",
                      "defaultValue": "{{AIRFLOW__API_AUTH__JWT_SECRET}}"
                    },
                    "AIRFLOW__LOGGING__REMOTE_LOGGING": {
                      "isOptional": true,
                      "description": "Ship task logs to the Railway Bucket.",
                      "defaultValue": "True"
                    },
                    "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN": {
                      "isOptional": false,
                      "description": "Metadata database (Railway Postgres, private network).",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID": {
                      "isOptional": true,
                      "description": "Airflow connection used for remote logs.",
                      "defaultValue": "railway_bucket"
                    },
                    "AIRFLOW__CORE__EXECUTION_API_SERVER_URL": {
                      "isOptional": false,
                      "description": "Task Execution API that workers/triggerer call (private network).",
                      "defaultValue": "http://${{airflow-apiserver.RAILWAY_PRIVATE_DOMAIN}}:8080/execution/"
                    },
                    "AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER": {
                      "isOptional": true,
                      "description": "Bucket path for task logs.",
                      "defaultValue": "s3://${{Bucket.BUCKET}}/task-logs"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "e4c974d6-5bf9-57b7-9394-7a76dbcd4117": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-airflow.svg",
                  "name": "airflow-triggerer",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "startCommand": "/opt/railway/bin/railway-airflow triggerer",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/airflow-railway",
                    "branch": "main",
                    "rootDirectory": "/services/airflow"
                  },
                  "variables": {
                    "AIRFLOW_DAGS_GIT_REF": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_REF}}"
                    },
                    "AIRFLOW_DAGS_GIT_URL": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_URL}}"
                    },
                    "AIRFLOW_DAGS_GIT_SUBDIR": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_SUBDIR}}"
                    },
                    "AIRFLOW__API__SECRET_KEY": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__API__SECRET_KEY}}"
                    },
                    "AIRFLOW_DAGS_REFRESH_SECS": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_REFRESH_SECS}}"
                    },
                    "AIRFLOW__CORE__FERNET_KEY": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__CORE__FERNET_KEY}}"
                    },
                    "AIRFLOW_CONN_RAILWAY_BUCKET": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_CONN_RAILWAY_BUCKET}}"
                    },
                    "AIRFLOW__CELERY__BROKER_URL": {
                      "isOptional": false,
                      "description": "Celery broker (Railway Redis, DB 0).",
                      "defaultValue": "${{Redis.REDIS_URL}}/0"
                    },
                    "AIRFLOW__API_AUTH__JWT_SECRET": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__API_AUTH__JWT_SECRET}}"
                    },
                    "AIRFLOW__LOGGING__REMOTE_LOGGING": {
                      "isOptional": true,
                      "description": "Ship task logs to the Railway Bucket.",
                      "defaultValue": "True"
                    },
                    "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN": {
                      "isOptional": false,
                      "description": "Metadata database (Railway Postgres, private network).",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID": {
                      "isOptional": true,
                      "description": "Airflow connection used for remote logs.",
                      "defaultValue": "railway_bucket"
                    },
                    "AIRFLOW__CORE__EXECUTION_API_SERVER_URL": {
                      "isOptional": false,
                      "description": "Task Execution API that workers/triggerer call (private network).",
                      "defaultValue": "http://${{airflow-apiserver.RAILWAY_PRIVATE_DOMAIN}}:8080/execution/"
                    },
                    "AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER": {
                      "isOptional": true,
                      "description": "Bucket path for task logs.",
                      "defaultValue": "s3://${{Bucket.BUCKET}}/task-logs"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "ef82e81a-f8db-561e-9c34-5f0ff6cdf668": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-airflow.svg",
                  "name": "airflow-scheduler",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "startCommand": "/opt/railway/bin/railway-airflow scheduler",
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 900,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/airflow-railway",
                    "branch": "main",
                    "rootDirectory": "/services/airflow"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Scheduler health server port (Railway probes /health).",
                      "defaultValue": "8974"
                    },
                    "AIRFLOW_DAGS_GIT_REF": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_REF}}"
                    },
                    "AIRFLOW_DAGS_GIT_URL": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_URL}}"
                    },
                    "AIRFLOW_DAGS_GIT_SUBDIR": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_SUBDIR}}"
                    },
                    "AIRFLOW__API__SECRET_KEY": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__API__SECRET_KEY}}"
                    },
                    "AIRFLOW_DAGS_REFRESH_SECS": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_REFRESH_SECS}}"
                    },
                    "AIRFLOW__CORE__FERNET_KEY": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__CORE__FERNET_KEY}}"
                    },
                    "AIRFLOW_CONN_RAILWAY_BUCKET": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_CONN_RAILWAY_BUCKET}}"
                    },
                    "AIRFLOW__CELERY__BROKER_URL": {
                      "isOptional": false,
                      "description": "Celery broker (Railway Redis, DB 0).",
                      "defaultValue": "${{Redis.REDIS_URL}}/0"
                    },
                    "AIRFLOW__API_AUTH__JWT_SECRET": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__API_AUTH__JWT_SECRET}}"
                    },
                    "AIRFLOW__LOGGING__REMOTE_LOGGING": {
                      "isOptional": true,
                      "description": "Ship task logs to the Railway Bucket.",
                      "defaultValue": "True"
                    },
                    "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN": {
                      "isOptional": false,
                      "description": "Metadata database (Railway Postgres, private network).",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID": {
                      "isOptional": true,
                      "description": "Airflow connection used for remote logs.",
                      "defaultValue": "railway_bucket"
                    },
                    "AIRFLOW__CORE__EXECUTION_API_SERVER_URL": {
                      "isOptional": false,
                      "description": "Task Execution API that workers/triggerer call (private network).",
                      "defaultValue": "http://${{airflow-apiserver.RAILWAY_PRIVATE_DOMAIN}}:8080/execution/"
                    },
                    "AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER": {
                      "isOptional": true,
                      "description": "Bucket path for task logs.",
                      "defaultValue": "s3://${{Bucket.BUCKET}}/task-logs"
                    },
                    "AIRFLOW__SCHEDULER__SCHEDULER_HEALTH_CHECK_SERVER_PORT": {
                      "isOptional": true,
                      "description": "Scheduler health server port.",
                      "defaultValue": "8974"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "f8f0f295-69d4-5c2e-9d8b-ce00e96561c8": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-airflow.svg",
                  "name": "airflow-init",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "startCommand": "/opt/railway/bin/railway-airflow init",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "repo": "baranberkay96/airflow-railway",
                    "branch": "main",
                    "rootDirectory": "/services/airflow"
                  },
                  "variables": {
                    "AIRFLOW_ADMIN_EMAIL": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_ADMIN_EMAIL}}"
                    },
                    "AIRFLOW_DAGS_GIT_REF": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_REF}}"
                    },
                    "AIRFLOW_DAGS_GIT_URL": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_URL}}"
                    },
                    "AIRFLOW_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_ADMIN_PASSWORD}}"
                    },
                    "AIRFLOW_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_ADMIN_USERNAME}}"
                    },
                    "AIRFLOW_DAGS_GIT_SUBDIR": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_GIT_SUBDIR}}"
                    },
                    "AIRFLOW__API__SECRET_KEY": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__API__SECRET_KEY}}"
                    },
                    "AIRFLOW_DAGS_REFRESH_SECS": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_DAGS_REFRESH_SECS}}"
                    },
                    "AIRFLOW__CORE__FERNET_KEY": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__CORE__FERNET_KEY}}"
                    },
                    "AIRFLOW_CONN_RAILWAY_BUCKET": {
                      "isOptional": true,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_CONN_RAILWAY_BUCKET}}"
                    },
                    "AIRFLOW__CELERY__BROKER_URL": {
                      "isOptional": false,
                      "description": "Celery broker (Railway Redis, DB 0).",
                      "defaultValue": "${{Redis.REDIS_URL}}/0"
                    },
                    "AIRFLOW__API_AUTH__JWT_SECRET": {
                      "isOptional": false,
                      "description": "Same value as on airflow-apiserver.",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW__API_AUTH__JWT_SECRET}}"
                    },
                    "AIRFLOW__LOGGING__REMOTE_LOGGING": {
                      "isOptional": true,
                      "description": "Ship task logs to the Railway Bucket.",
                      "defaultValue": "True"
                    },
                    "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN": {
                      "isOptional": false,
                      "description": "Metadata database (Railway Postgres, private network).",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID": {
                      "isOptional": true,
                      "description": "Airflow connection used for remote logs.",
                      "defaultValue": "railway_bucket"
                    },
                    "AIRFLOW__CORE__EXECUTION_API_SERVER_URL": {
                      "isOptional": false,
                      "description": "Task Execution API that workers/triggerer call (private network).",
                      "defaultValue": "http://${{airflow-apiserver.RAILWAY_PRIVATE_DOMAIN}}:8080/execution/"
                    },
                    "AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER": {
                      "isOptional": true,
                      "description": "Bucket path for task logs.",
                      "defaultValue": "s3://${{Bucket.BUCKET}}/task-logs"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "airflow-apiserver",
      "method": "GET",
      "path": "/api/v2/monitor/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 8,
    "needs_volume": true
  },
  "generated_at": "2026-10-11T16:14:40.554Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-10-11T14:38:12.839Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_3207a220c5f1446dad22",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ]
  }
}
