{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9d2e15c5-bcf2-4f16-8f24-397a2a8f0751",
    "slug": "airflow",
    "name": "Apache Airflow",
    "description": "Schedule and monitor data pipelines written in Python",
    "url": "https://railway.com/deploy/airflow",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/airflow-railway"
    }
  },
  "services": [
    {
      "name": "airflow-apiserver",
      "source": {
        "repo": "https://github.com/gridalpha/airflow-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "airflow-dag-processor",
      "source": {
        "repo": "https://github.com/gridalpha/airflow-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "airflow-triggerer",
      "source": {
        "repo": "https://github.com/gridalpha/airflow-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "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-scheduler",
      "source": {
        "repo": "https://github.com/gridalpha/airflow-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "airflow-worker",
      "source": {
        "repo": "https://github.com/gridalpha/airflow-railway"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "airflow-apiserver",
      "description": "Port the API server listens on",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "REDIS_URL",
      "service": "airflow-apiserver",
      "description": "Celery broker connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "airflow-apiserver",
      "description": "Airflow metadata database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_ADMIN_EMAIL",
      "service": "airflow-apiserver",
      "description": "First administrator email address",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "AIRFLOW_LOGS_BUCKET",
      "service": "airflow-apiserver",
      "description": "Bucket holding remote task logs",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_REGION",
      "service": "airflow-apiserver",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_SECRET_SEED",
      "service": "airflow-apiserver",
      "description": "Seed all matched Airflow secrets derive from",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AIRFLOW_LOGS_ENDPOINT",
      "service": "airflow-apiserver",
      "description": "S3-compatible endpoint for that bucket",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_ADMIN_PASSWORD",
      "service": "airflow-apiserver",
      "description": "First administrator password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "AIRFLOW_ADMIN_USERNAME",
      "service": "airflow-apiserver",
      "description": "First administrator username",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "AIRFLOW_LOGS_ACCESS_KEY_ID",
      "service": "airflow-apiserver",
      "description": "Bucket access key id",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_SECRET_ACCESS_KEY",
      "service": "airflow-apiserver",
      "description": "Bucket secret access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Auth password, read by the server",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "airflow-dag-processor",
      "description": "Port the health endpoint listens on",
      "secret": false,
      "strategy": "default",
      "default": "8081"
    },
    {
      "key": "REDIS_URL",
      "service": "airflow-dag-processor",
      "description": "Celery broker connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "airflow-dag-processor",
      "description": "Airflow metadata database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_BUCKET",
      "service": "airflow-dag-processor",
      "description": "Bucket holding remote task logs",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_REGION",
      "service": "airflow-dag-processor",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_SECRET_SEED",
      "service": "airflow-dag-processor",
      "description": "Must match the API server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_ENDPOINT",
      "service": "airflow-dag-processor",
      "description": "S3-compatible endpoint for that bucket",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_ACCESS_KEY_ID",
      "service": "airflow-dag-processor",
      "description": "Bucket access key id",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_SECRET_ACCESS_KEY",
      "service": "airflow-dag-processor",
      "description": "Bucket secret access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "airflow-triggerer",
      "description": "Port the health endpoint listens on",
      "secret": false,
      "strategy": "default",
      "default": "8081"
    },
    {
      "key": "REDIS_URL",
      "service": "airflow-triggerer",
      "description": "Celery broker connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "airflow-triggerer",
      "description": "Airflow metadata database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_BUCKET",
      "service": "airflow-triggerer",
      "description": "Bucket holding remote task logs",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_REGION",
      "service": "airflow-triggerer",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_SECRET_SEED",
      "service": "airflow-triggerer",
      "description": "Must match the API server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_ENDPOINT",
      "service": "airflow-triggerer",
      "description": "S3-compatible endpoint for that bucket",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_ACCESS_KEY_ID",
      "service": "airflow-triggerer",
      "description": "Bucket access key id",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_SECRET_ACCESS_KEY",
      "service": "airflow-triggerer",
      "description": "Bucket secret access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Cluster location on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry in days",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Superuser password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Clean shutdown window",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "airflow-scheduler",
      "description": "Port Airflow's scheduler health server uses",
      "secret": false,
      "strategy": "default",
      "default": "8974"
    },
    {
      "key": "REDIS_URL",
      "service": "airflow-scheduler",
      "description": "Celery broker connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "airflow-scheduler",
      "description": "Airflow metadata database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_BUCKET",
      "service": "airflow-scheduler",
      "description": "Bucket holding remote task logs",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_REGION",
      "service": "airflow-scheduler",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_SECRET_SEED",
      "service": "airflow-scheduler",
      "description": "Must match the API server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_ENDPOINT",
      "service": "airflow-scheduler",
      "description": "S3-compatible endpoint for that bucket",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_ACCESS_KEY_ID",
      "service": "airflow-scheduler",
      "description": "Bucket access key id",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_SECRET_ACCESS_KEY",
      "service": "airflow-scheduler",
      "description": "Bucket secret access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "airflow-worker",
      "description": "Port the health endpoint listens on",
      "secret": false,
      "strategy": "default",
      "default": "8081"
    },
    {
      "key": "REDIS_URL",
      "service": "airflow-worker",
      "description": "Celery broker connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "airflow-worker",
      "description": "Airflow metadata database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_BUCKET",
      "service": "airflow-worker",
      "description": "Bucket holding remote task logs",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_REGION",
      "service": "airflow-worker",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_SECRET_SEED",
      "service": "airflow-worker",
      "description": "Must match the API server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_ENDPOINT",
      "service": "airflow-worker",
      "description": "S3-compatible endpoint for that bucket",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_ACCESS_KEY_ID",
      "service": "airflow-worker",
      "description": "Bucket access key id",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "AIRFLOW_LOGS_SECRET_ACCESS_KEY",
      "service": "airflow-worker",
      "description": "Bucket secret access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "airflow"
      }
    },
    "cli": "railway deploy --template airflow",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9d2e15c5-bcf2-4f16-8f24-397a2a8f0751",
            "serializedConfig": {
              "buckets": {
                "4a0d5584-0a24-4c72-a102-058097816c7b": {
                  "name": "airflow-logs"
                }
              },
              "services": {
                "02939804-5d18-4c8b-aae7-c18cfa41bc93": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-airflow.svg",
                  "name": "airflow-apiserver",
                  "deploy": {
                    "startCommand": "/railway-entrypoint.sh api-server",
                    "healthcheckPath": "/api/v2/monitor/health",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/airflow-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the API server listens on",
                      "defaultValue": "8080"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Celery broker connection string",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Airflow metadata database",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "AIRFLOW_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "First administrator email address",
                      "defaultValue": "admin@example.com"
                    },
                    "AIRFLOW_LOGS_BUCKET": {
                      "isOptional": false,
                      "description": "Bucket holding remote task logs",
                      "defaultValue": "${{airflow-logs.BUCKET}}"
                    },
                    "AIRFLOW_LOGS_REGION": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{airflow-logs.REGION}}"
                    },
                    "AIRFLOW_SECRET_SEED": {
                      "isOptional": false,
                      "description": "Seed all matched Airflow secrets derive from",
                      "defaultValue": "{{AIRFLOW_SECRET_SEED}}"
                    },
                    "AIRFLOW_LOGS_ENDPOINT": {
                      "isOptional": false,
                      "description": "S3-compatible endpoint for that bucket",
                      "defaultValue": "${{airflow-logs.ENDPOINT}}"
                    },
                    "AIRFLOW_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "First administrator password",
                      "defaultValue": "{{AIRFLOW_ADMIN_PASSWORD}}"
                    },
                    "AIRFLOW_ADMIN_USERNAME": {
                      "isOptional": false,
                      "description": "First administrator username",
                      "defaultValue": "admin"
                    },
                    "AIRFLOW_LOGS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Bucket access key id",
                      "defaultValue": "${{airflow-logs.ACCESS_KEY_ID}}"
                    },
                    "AIRFLOW_LOGS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret access key",
                      "defaultValue": "${{airflow-logs.SECRET_ACCESS_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "043c2b08-82b1-4b5c-a7ed-a43ce0a28a0d": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/redis.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Auth password, read by the server",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "043c2b08-82b1-4b5c-a7ed-a43ce0a28a0d": {
                      "mountPath": "/data"
                    }
                  }
                },
                "579a1304-ac0d-482b-8e3d-58f88c3eca94": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-airflow.svg",
                  "name": "airflow-dag-processor",
                  "deploy": {
                    "startCommand": "/railway-entrypoint.sh dag-processor",
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/airflow-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the health endpoint listens on",
                      "defaultValue": "8081"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Celery broker connection string",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Airflow metadata database",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "AIRFLOW_LOGS_BUCKET": {
                      "isOptional": false,
                      "description": "Bucket holding remote task logs",
                      "defaultValue": "${{airflow-logs.BUCKET}}"
                    },
                    "AIRFLOW_LOGS_REGION": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{airflow-logs.REGION}}"
                    },
                    "AIRFLOW_SECRET_SEED": {
                      "isOptional": false,
                      "description": "Must match the API server",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_SECRET_SEED}}"
                    },
                    "AIRFLOW_LOGS_ENDPOINT": {
                      "isOptional": false,
                      "description": "S3-compatible endpoint for that bucket",
                      "defaultValue": "${{airflow-logs.ENDPOINT}}"
                    },
                    "AIRFLOW_LOGS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Bucket access key id",
                      "defaultValue": "${{airflow-logs.ACCESS_KEY_ID}}"
                    },
                    "AIRFLOW_LOGS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret access key",
                      "defaultValue": "${{airflow-logs.SECRET_ACCESS_KEY}}"
                    }
                  }
                },
                "6a1d8a35-b742-4369-90c4-6e64fb2c82e4": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-airflow.svg",
                  "name": "airflow-triggerer",
                  "deploy": {
                    "startCommand": "/railway-entrypoint.sh triggerer",
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/airflow-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the health endpoint listens on",
                      "defaultValue": "8081"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Celery broker connection string",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Airflow metadata database",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "AIRFLOW_LOGS_BUCKET": {
                      "isOptional": false,
                      "description": "Bucket holding remote task logs",
                      "defaultValue": "${{airflow-logs.BUCKET}}"
                    },
                    "AIRFLOW_LOGS_REGION": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{airflow-logs.REGION}}"
                    },
                    "AIRFLOW_SECRET_SEED": {
                      "isOptional": false,
                      "description": "Must match the API server",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_SECRET_SEED}}"
                    },
                    "AIRFLOW_LOGS_ENDPOINT": {
                      "isOptional": false,
                      "description": "S3-compatible endpoint for that bucket",
                      "defaultValue": "${{airflow-logs.ENDPOINT}}"
                    },
                    "AIRFLOW_LOGS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Bucket access key id",
                      "defaultValue": "${{airflow-logs.ACCESS_KEY_ID}}"
                    },
                    "AIRFLOW_LOGS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret access key",
                      "defaultValue": "${{airflow-logs.SECRET_ACCESS_KEY}}"
                    }
                  }
                },
                "75680657-84d5-490b-98f0-ad91856d9ebf": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Cluster location on the volume",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database created on first boot",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser created on first boot",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "SSL certificate expiry in days",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Superuser password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "75680657-84d5-490b-98f0-ad91856d9ebf": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "94046c20-2575-4155-b319-4ddb369a9b4d": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-airflow.svg",
                  "name": "airflow-scheduler",
                  "deploy": {
                    "startCommand": "/railway-entrypoint.sh scheduler",
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/airflow-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Airflow's scheduler health server uses",
                      "defaultValue": "8974"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Celery broker connection string",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Airflow metadata database",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "AIRFLOW_LOGS_BUCKET": {
                      "isOptional": false,
                      "description": "Bucket holding remote task logs",
                      "defaultValue": "${{airflow-logs.BUCKET}}"
                    },
                    "AIRFLOW_LOGS_REGION": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{airflow-logs.REGION}}"
                    },
                    "AIRFLOW_SECRET_SEED": {
                      "isOptional": false,
                      "description": "Must match the API server",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_SECRET_SEED}}"
                    },
                    "AIRFLOW_LOGS_ENDPOINT": {
                      "isOptional": false,
                      "description": "S3-compatible endpoint for that bucket",
                      "defaultValue": "${{airflow-logs.ENDPOINT}}"
                    },
                    "AIRFLOW_LOGS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Bucket access key id",
                      "defaultValue": "${{airflow-logs.ACCESS_KEY_ID}}"
                    },
                    "AIRFLOW_LOGS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret access key",
                      "defaultValue": "${{airflow-logs.SECRET_ACCESS_KEY}}"
                    }
                  }
                },
                "d808578c-536f-4a12-a35e-12731b7e0488": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/apache-airflow.svg",
                  "name": "airflow-worker",
                  "deploy": {
                    "startCommand": "/railway-entrypoint.sh worker",
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/airflow-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port the health endpoint listens on",
                      "defaultValue": "8081"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Celery broker connection string",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Airflow metadata database",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "AIRFLOW_LOGS_BUCKET": {
                      "isOptional": false,
                      "description": "Bucket holding remote task logs",
                      "defaultValue": "${{airflow-logs.BUCKET}}"
                    },
                    "AIRFLOW_LOGS_REGION": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{airflow-logs.REGION}}"
                    },
                    "AIRFLOW_SECRET_SEED": {
                      "isOptional": false,
                      "description": "Must match the API server",
                      "defaultValue": "${{airflow-apiserver.AIRFLOW_SECRET_SEED}}"
                    },
                    "AIRFLOW_LOGS_ENDPOINT": {
                      "isOptional": false,
                      "description": "S3-compatible endpoint for that bucket",
                      "defaultValue": "${{airflow-logs.ENDPOINT}}"
                    },
                    "AIRFLOW_LOGS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "Bucket access key id",
                      "defaultValue": "${{airflow-logs.ACCESS_KEY_ID}}"
                    },
                    "AIRFLOW_LOGS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret access key",
                      "defaultValue": "${{airflow-logs.SECRET_ACCESS_KEY}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "airflow-apiserver",
      "method": "GET",
      "path": "/api/v2/monitor/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 7,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-19T12:46:59.596Z",
  "success_rate_30d": 0.1667,
  "validation": {
    "last_run_id": "run_f3ebe1db686a48e4a47d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ],
    "typical_ready_seconds": 244
  }
}
