{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d112d2e4-0f76-4c56-b7ff-77e5ebe6a635",
    "slug": "kestra-railway",
    "name": "Kestra",
    "description": "Orchestration platform for data, AI, and infrastructure workflows",
    "url": "https://railway.com/deploy/kestra-railway",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/kestra-railway"
    }
  },
  "services": [
    {
      "name": "kestra-scheduler",
      "source": {
        "repo": "https://github.com/gridalpha/kestra-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "kestra-webserver",
      "source": {
        "repo": "https://github.com/gridalpha/kestra-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "kestra-worker",
      "source": {
        "repo": "https://github.com/gridalpha/kestra-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": "kestra-executor",
      "source": {
        "repo": "https://github.com/gridalpha/kestra-railway"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "kestra-scheduler",
      "description": "Management port for health checks",
      "secret": false,
      "strategy": "default",
      "default": "8081"
    },
    {
      "key": "KESTRA_URL",
      "service": "kestra-scheduler",
      "description": "Public base URL for links",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DATABASE_URL",
      "service": "kestra-scheduler",
      "description": "Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_COMPONENT",
      "service": "kestra-scheduler",
      "description": "Starts the trigger scheduler",
      "secret": false,
      "strategy": "default",
      "default": "scheduler"
    },
    {
      "key": "KESTRA_SECRET_SEED",
      "service": "kestra-scheduler",
      "description": "Shared secrets encryption seed",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_DB_POOL_SIZE",
      "service": "kestra-scheduler",
      "description": "JDBC connection pool size",
      "secret": false,
      "strategy": "default",
      "default": "10"
    },
    {
      "key": "KESTRA_STORAGE_BUCKET",
      "service": "kestra-scheduler",
      "description": "Internal storage bucket name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_REGION",
      "service": "kestra-scheduler",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_ENDPOINT",
      "service": "kestra-scheduler",
      "description": "S3-compatible storage endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_ACCESS_KEY",
      "service": "kestra-scheduler",
      "description": "Bucket access key id",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_SECRET_KEY",
      "service": "kestra-scheduler",
      "description": "Bucket secret access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_BASIC_AUTH_PASSWORD",
      "service": "kestra-scheduler",
      "description": "Shared login password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_BASIC_AUTH_USERNAME",
      "service": "kestra-scheduler",
      "description": "Shared login email",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "kestra-webserver",
      "description": "HTTP port behind the public domain",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "KESTRA_URL",
      "service": "kestra-webserver",
      "description": "Public base URL for links",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DATABASE_URL",
      "service": "kestra-webserver",
      "description": "Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_COMPONENT",
      "service": "kestra-webserver",
      "description": "Starts the UI and REST API",
      "secret": false,
      "strategy": "default",
      "default": "webserver"
    },
    {
      "key": "KESTRA_SECRET_SEED",
      "service": "kestra-webserver",
      "description": "Seed for secrets encryption key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "KESTRA_DB_POOL_SIZE",
      "service": "kestra-webserver",
      "description": "JDBC connection pool size",
      "secret": false,
      "strategy": "default",
      "default": "10"
    },
    {
      "key": "KESTRA_STORAGE_BUCKET",
      "service": "kestra-webserver",
      "description": "Internal storage bucket name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_REGION",
      "service": "kestra-webserver",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_ENDPOINT",
      "service": "kestra-webserver",
      "description": "S3-compatible storage endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_ACCESS_KEY",
      "service": "kestra-webserver",
      "description": "Bucket access key id",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_SECRET_KEY",
      "service": "kestra-webserver",
      "description": "Bucket secret access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_BASIC_AUTH_PASSWORD",
      "service": "kestra-webserver",
      "description": "Login password, 8+ characters",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "KESTRA_BASIC_AUTH_USERNAME",
      "service": "kestra-webserver",
      "description": "Login email, valid address required",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "PORT",
      "service": "kestra-worker",
      "description": "Management port for health checks",
      "secret": false,
      "strategy": "default",
      "default": "8081"
    },
    {
      "key": "KESTRA_URL",
      "service": "kestra-worker",
      "description": "Public base URL for links",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DATABASE_URL",
      "service": "kestra-worker",
      "description": "Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_COMPONENT",
      "service": "kestra-worker",
      "description": "Starts the task worker",
      "secret": false,
      "strategy": "default",
      "default": "worker"
    },
    {
      "key": "KESTRA_SECRET_SEED",
      "service": "kestra-worker",
      "description": "Shared secrets encryption seed",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_DB_POOL_SIZE",
      "service": "kestra-worker",
      "description": "JDBC connection pool size",
      "secret": false,
      "strategy": "default",
      "default": "10"
    },
    {
      "key": "KESTRA_STORAGE_BUCKET",
      "service": "kestra-worker",
      "description": "Internal storage bucket name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_REGION",
      "service": "kestra-worker",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_ENDPOINT",
      "service": "kestra-worker",
      "description": "S3-compatible storage endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_ACCESS_KEY",
      "service": "kestra-worker",
      "description": "Bucket access key id",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_SECRET_KEY",
      "service": "kestra-worker",
      "description": "Bucket secret access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_BASIC_AUTH_PASSWORD",
      "service": "kestra-worker",
      "description": "Shared login password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_BASIC_AUTH_USERNAME",
      "service": "kestra-worker",
      "description": "Shared login email",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Data directory, a subdirectory of the volume mount",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Private hostname, reachable only inside the project",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Standard PostgreSQL port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "libpq alias of the superuser name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "libpq alias of the default database",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "libpq alias of the superuser password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "rRAILWAY_PRIVATE_DOMAINailway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string, use this from other services",
      "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": "Validity window of the generated self-signed TLS certificate",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Generated superuser password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_PUBLIC_URL",
      "service": "Postgres",
      "description": "Public connection string over the TCP proxy, for external tools",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Grace period for in-flight connections on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "kestra-executor",
      "description": "Management port for health checks",
      "secret": false,
      "strategy": "default",
      "default": "8081"
    },
    {
      "key": "KESTRA_URL",
      "service": "kestra-executor",
      "description": "Public base URL for links",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DATABASE_URL",
      "service": "kestra-executor",
      "description": "Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_COMPONENT",
      "service": "kestra-executor",
      "description": "Starts the orchestration executor",
      "secret": false,
      "strategy": "default",
      "default": "executor"
    },
    {
      "key": "KESTRA_SECRET_SEED",
      "service": "kestra-executor",
      "description": "Shared secrets encryption seed",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_DB_POOL_SIZE",
      "service": "kestra-executor",
      "description": "JDBC connection pool size",
      "secret": false,
      "strategy": "default",
      "default": "10"
    },
    {
      "key": "KESTRA_STORAGE_BUCKET",
      "service": "kestra-executor",
      "description": "Internal storage bucket name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_REGION",
      "service": "kestra-executor",
      "description": "Bucket region",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_ENDPOINT",
      "service": "kestra-executor",
      "description": "S3-compatible storage endpoint",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_ACCESS_KEY",
      "service": "kestra-executor",
      "description": "Bucket access key id",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_STORAGE_SECRET_KEY",
      "service": "kestra-executor",
      "description": "Bucket secret access key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_BASIC_AUTH_PASSWORD",
      "service": "kestra-executor",
      "description": "Shared login password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "KESTRA_BASIC_AUTH_USERNAME",
      "service": "kestra-executor",
      "description": "Shared login email",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "kestra-railway"
      }
    },
    "cli": "railway deploy --template kestra-railway",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d112d2e4-0f76-4c56-b7ff-77e5ebe6a635",
            "serializedConfig": {
              "buckets": {
                "4f52b434-2b6b-4adc-b6fc-5026a3532674": {
                  "name": "kestra-storage"
                }
              },
              "services": {
                "4e94a22d-bd68-4749-b86d-d83d8a9e454b": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/kestra.svg",
                  "name": "kestra-scheduler",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/kestra-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Management port for health checks",
                      "defaultValue": "8081"
                    },
                    "KESTRA_URL": {
                      "isOptional": false,
                      "description": "Public base URL for links",
                      "defaultValue": "https://${{kestra-webserver.RAILWAY_PUBLIC_DOMAIN}}/"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "KESTRA_COMPONENT": {
                      "isOptional": false,
                      "description": "Starts the trigger scheduler",
                      "defaultValue": "scheduler"
                    },
                    "KESTRA_SECRET_SEED": {
                      "isOptional": false,
                      "description": "Shared secrets encryption seed",
                      "defaultValue": "${{kestra-webserver.KESTRA_SECRET_SEED}}"
                    },
                    "KESTRA_DB_POOL_SIZE": {
                      "isOptional": false,
                      "description": "JDBC connection pool size",
                      "defaultValue": "10"
                    },
                    "KESTRA_STORAGE_BUCKET": {
                      "isOptional": false,
                      "description": "Internal storage bucket name",
                      "defaultValue": "${{kestra-storage.BUCKET}}"
                    },
                    "KESTRA_STORAGE_REGION": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{kestra-storage.REGION}}"
                    },
                    "KESTRA_STORAGE_ENDPOINT": {
                      "isOptional": false,
                      "description": "S3-compatible storage endpoint",
                      "defaultValue": "${{kestra-storage.ENDPOINT}}"
                    },
                    "KESTRA_STORAGE_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket access key id",
                      "defaultValue": "${{kestra-storage.ACCESS_KEY_ID}}"
                    },
                    "KESTRA_STORAGE_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret access key",
                      "defaultValue": "${{kestra-storage.SECRET_ACCESS_KEY}}"
                    },
                    "KESTRA_BASIC_AUTH_PASSWORD": {
                      "isOptional": false,
                      "description": "Shared login password",
                      "defaultValue": "${{kestra-webserver.KESTRA_BASIC_AUTH_PASSWORD}}"
                    },
                    "KESTRA_BASIC_AUTH_USERNAME": {
                      "isOptional": false,
                      "description": "Shared login email",
                      "defaultValue": "${{kestra-webserver.KESTRA_BASIC_AUTH_USERNAME}}"
                    }
                  }
                },
                "5d7f2d31-87b5-4f94-827a-ac22de9667e6": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/kestra.svg",
                  "name": "kestra-webserver",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/ping",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/kestra-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port behind the public domain",
                      "defaultValue": "8080"
                    },
                    "KESTRA_URL": {
                      "isOptional": false,
                      "description": "Public base URL for links",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}/"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "KESTRA_COMPONENT": {
                      "isOptional": false,
                      "description": "Starts the UI and REST API",
                      "defaultValue": "webserver"
                    },
                    "KESTRA_SECRET_SEED": {
                      "isOptional": false,
                      "description": "Seed for secrets encryption key",
                      "defaultValue": "{{KESTRA_SECRET_SEED}}"
                    },
                    "KESTRA_DB_POOL_SIZE": {
                      "isOptional": false,
                      "description": "JDBC connection pool size",
                      "defaultValue": "10"
                    },
                    "KESTRA_STORAGE_BUCKET": {
                      "isOptional": false,
                      "description": "Internal storage bucket name",
                      "defaultValue": "${{kestra-storage.BUCKET}}"
                    },
                    "KESTRA_STORAGE_REGION": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{kestra-storage.REGION}}"
                    },
                    "KESTRA_STORAGE_ENDPOINT": {
                      "isOptional": false,
                      "description": "S3-compatible storage endpoint",
                      "defaultValue": "${{kestra-storage.ENDPOINT}}"
                    },
                    "KESTRA_STORAGE_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket access key id",
                      "defaultValue": "${{kestra-storage.ACCESS_KEY_ID}}"
                    },
                    "KESTRA_STORAGE_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret access key",
                      "defaultValue": "${{kestra-storage.SECRET_ACCESS_KEY}}"
                    },
                    "KESTRA_BASIC_AUTH_PASSWORD": {
                      "isOptional": false,
                      "description": "Login password, 8+ characters",
                      "defaultValue": "{{KESTRA_BASIC_AUTH_PASSWORD}}"
                    },
                    "KESTRA_BASIC_AUTH_USERNAME": {
                      "isOptional": false,
                      "description": "Login email, valid address required",
                      "defaultValue": "admin@example.com"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "c525da4f-a5cc-420f-942e-92fc495d7409": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/kestra.svg",
                  "name": "kestra-worker",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/kestra-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Management port for health checks",
                      "defaultValue": "8081"
                    },
                    "KESTRA_URL": {
                      "isOptional": false,
                      "description": "Public base URL for links",
                      "defaultValue": "https://${{kestra-webserver.RAILWAY_PUBLIC_DOMAIN}}/"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "KESTRA_COMPONENT": {
                      "isOptional": false,
                      "description": "Starts the task worker",
                      "defaultValue": "worker"
                    },
                    "KESTRA_SECRET_SEED": {
                      "isOptional": false,
                      "description": "Shared secrets encryption seed",
                      "defaultValue": "${{kestra-webserver.KESTRA_SECRET_SEED}}"
                    },
                    "KESTRA_DB_POOL_SIZE": {
                      "isOptional": false,
                      "description": "JDBC connection pool size",
                      "defaultValue": "10"
                    },
                    "KESTRA_STORAGE_BUCKET": {
                      "isOptional": false,
                      "description": "Internal storage bucket name",
                      "defaultValue": "${{kestra-storage.BUCKET}}"
                    },
                    "KESTRA_STORAGE_REGION": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{kestra-storage.REGION}}"
                    },
                    "KESTRA_STORAGE_ENDPOINT": {
                      "isOptional": false,
                      "description": "S3-compatible storage endpoint",
                      "defaultValue": "${{kestra-storage.ENDPOINT}}"
                    },
                    "KESTRA_STORAGE_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket access key id",
                      "defaultValue": "${{kestra-storage.ACCESS_KEY_ID}}"
                    },
                    "KESTRA_STORAGE_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret access key",
                      "defaultValue": "${{kestra-storage.SECRET_ACCESS_KEY}}"
                    },
                    "KESTRA_BASIC_AUTH_PASSWORD": {
                      "isOptional": false,
                      "description": "Shared login password",
                      "defaultValue": "${{kestra-webserver.KESTRA_BASIC_AUTH_PASSWORD}}"
                    },
                    "KESTRA_BASIC_AUTH_USERNAME": {
                      "isOptional": false,
                      "description": "Shared login email",
                      "defaultValue": "${{kestra-webserver.KESTRA_BASIC_AUTH_USERNAME}}"
                    }
                  }
                },
                "c700840a-bbb1-4fc4-9aa7-cfe815f30063": {
                  "icon": "https://devicons.railway.app/i/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": "Data directory, a subdirectory of the volume mount",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Private hostname, reachable only inside the project",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Standard PostgreSQL port",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "libpq alias of the superuser name",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "libpq alias of the default database",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "libpq alias of the superuser password",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Default database created on first boot",
                      "defaultValue": "rRAILWAY_PRIVATE_DOMAINailway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string, use this from other services",
                      "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": "Validity window of the generated self-signed TLS certificate",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated superuser password",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "DATABASE_PUBLIC_URL": {
                      "description": "Public connection string over the TCP proxy, for external tools",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{PGDATABASE}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Grace period for in-flight connections on redeploy",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "c700840a-bbb1-4fc4-9aa7-cfe815f30063": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "f6852572-695d-499c-9e19-36e26e686508": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/kestra.svg",
                  "name": "kestra-executor",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/kestra-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Management port for health checks",
                      "defaultValue": "8081"
                    },
                    "KESTRA_URL": {
                      "isOptional": false,
                      "description": "Public base URL for links",
                      "defaultValue": "https://${{kestra-webserver.RAILWAY_PUBLIC_DOMAIN}}/"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "KESTRA_COMPONENT": {
                      "isOptional": false,
                      "description": "Starts the orchestration executor",
                      "defaultValue": "executor"
                    },
                    "KESTRA_SECRET_SEED": {
                      "isOptional": false,
                      "description": "Shared secrets encryption seed",
                      "defaultValue": "${{kestra-webserver.KESTRA_SECRET_SEED}}"
                    },
                    "KESTRA_DB_POOL_SIZE": {
                      "isOptional": false,
                      "description": "JDBC connection pool size",
                      "defaultValue": "10"
                    },
                    "KESTRA_STORAGE_BUCKET": {
                      "isOptional": false,
                      "description": "Internal storage bucket name",
                      "defaultValue": "${{kestra-storage.BUCKET}}"
                    },
                    "KESTRA_STORAGE_REGION": {
                      "isOptional": false,
                      "description": "Bucket region",
                      "defaultValue": "${{kestra-storage.REGION}}"
                    },
                    "KESTRA_STORAGE_ENDPOINT": {
                      "isOptional": false,
                      "description": "S3-compatible storage endpoint",
                      "defaultValue": "${{kestra-storage.ENDPOINT}}"
                    },
                    "KESTRA_STORAGE_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "Bucket access key id",
                      "defaultValue": "${{kestra-storage.ACCESS_KEY_ID}}"
                    },
                    "KESTRA_STORAGE_SECRET_KEY": {
                      "isOptional": false,
                      "description": "Bucket secret access key",
                      "defaultValue": "${{kestra-storage.SECRET_ACCESS_KEY}}"
                    },
                    "KESTRA_BASIC_AUTH_PASSWORD": {
                      "isOptional": false,
                      "description": "Shared login password",
                      "defaultValue": "${{kestra-webserver.KESTRA_BASIC_AUTH_PASSWORD}}"
                    },
                    "KESTRA_BASIC_AUTH_USERNAME": {
                      "isOptional": false,
                      "description": "Shared login email",
                      "defaultValue": "${{kestra-webserver.KESTRA_BASIC_AUTH_USERNAME}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "kestra-webserver",
      "method": "GET",
      "path": "/ping",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T22:14:43.398Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-10T17:49:07.630Z",
  "success_rate_30d": 0.5,
  "validation": {
    "last_run_id": "run_f7e70cfe9c8a4d1d8331",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": false,
        "detail": "Your workspace has been restricted. Please contact support to resolve this."
      }
    ],
    "typical_ready_seconds": 261,
    "typical_build_seconds": 113,
    "typical_start_seconds": 60,
    "slowest_service": "kestra-scheduler"
  }
}
