{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6465a996-61e7-4585-8f2e-e6cffc5bde0b",
    "slug": "hatchet",
    "name": "Hatchet",
    "description": "Task queue and workflow engine for background jobs",
    "url": "https://railway.com/deploy/hatchet",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/hatchet-railway"
    }
  },
  "services": [
    {
      "name": "hatchet-dashboard",
      "source": {
        "repo": "https://github.com/gridalpha/hatchet-railway"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "hatchet-scheduler",
      "source": {
        "repo": "https://github.com/gridalpha/hatchet-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "hatchet-engine",
      "source": {
        "repo": "https://github.com/gridalpha/hatchet-railway"
      },
      "needs_volume": false,
      "tcp_ports": [
        7070
      ],
      "http": false
    },
    {
      "name": "hatchet-controllers",
      "source": {
        "repo": "https://github.com/gridalpha/hatchet-railway"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "hatchet-dashboard",
      "description": "Port Railway health-checks, the API process",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "ADMIN_NAME",
      "service": "hatchet-dashboard",
      "description": "Display name for that user",
      "secret": false,
      "strategy": "default",
      "default": "Admin"
    },
    {
      "key": "SERVER_URL",
      "service": "hatchet-dashboard",
      "description": "Public dashboard and API URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ADMIN_EMAIL",
      "service": "hatchet-dashboard",
      "description": "First admin user, change before deploying",
      "secret": false,
      "strategy": "default",
      "default": "admin@example.com"
    },
    {
      "key": "SERVER_PORT",
      "service": "hatchet-dashboard",
      "description": "hatchet-api listening port behind nginx",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "DATABASE_URL",
      "service": "hatchet-dashboard",
      "description": "Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "hatchet-dashboard",
      "description": "First admin password, 8-64 chars mixed case and digit",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_MAX_CONNS",
      "service": "hatchet-dashboard",
      "description": "Postgres pool size for this service",
      "secret": false,
      "strategy": "default",
      "default": "12"
    },
    {
      "key": "DATABASE_MIN_CONNS",
      "service": "hatchet-dashboard",
      "description": "Idle Postgres connections kept open",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "DEFAULT_TENANT_NAME",
      "service": "hatchet-dashboard",
      "description": "Name of the tenant created at boot",
      "secret": false,
      "strategy": "default",
      "default": "Default"
    },
    {
      "key": "DEFAULT_TENANT_SLUG",
      "service": "hatchet-dashboard",
      "description": "Slug of that tenant",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "SERVER_ALLOW_SIGNUP",
      "service": "hatchet-dashboard",
      "description": "Disable public registration",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SERVER_LOGGER_LEVEL",
      "service": "hatchet-dashboard",
      "description": "Application log level",
      "secret": false,
      "strategy": "default",
      "default": "warn"
    },
    {
      "key": "SERVER_GRPC_INSECURE",
      "service": "hatchet-dashboard",
      "description": "Plaintext gRPC behind the TCP proxy",
      "secret": false,
      "strategy": "default",
      "default": "t"
    },
    {
      "key": "SERVER_LOGGER_FORMAT",
      "service": "hatchet-dashboard",
      "description": "Human-readable log format",
      "secret": false,
      "strategy": "default",
      "default": "console"
    },
    {
      "key": "SERVER_MSGQUEUE_KIND",
      "service": "hatchet-dashboard",
      "description": "Use Postgres as queue and pub/sub",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "DATABASE_LOGGER_LEVEL",
      "service": "hatchet-dashboard",
      "description": "Database log level",
      "secret": false,
      "strategy": "default",
      "default": "warn"
    },
    {
      "key": "DATABASE_LOGGER_FORMAT",
      "service": "hatchet-dashboard",
      "description": "Human-readable database logs",
      "secret": false,
      "strategy": "default",
      "default": "console"
    },
    {
      "key": "SERVER_ALLOWED_ORIGINS",
      "service": "hatchet-dashboard",
      "description": "CORS origin allow-list",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "hatchet-dashboard",
      "description": "Selects the dashboard image build",
      "secret": false,
      "strategy": "default",
      "default": "dashboard/Dockerfile"
    },
    {
      "key": "SERVER_AUTH_COOKIE_DOMAIN",
      "service": "hatchet-dashboard",
      "description": "Session cookie domain",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SERVER_API_TRUSTED_PROXIES",
      "service": "hatchet-dashboard",
      "description": "Trust edge headers for client IP",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0/0,::/0"
    },
    {
      "key": "SERVER_AUTH_COOKIE_INSECURE",
      "service": "hatchet-dashboard",
      "description": "Require HTTPS-only cookies",
      "secret": false,
      "strategy": "default",
      "default": "f"
    },
    {
      "key": "SERVER_GRPC_BROADCAST_ADDRESS",
      "service": "hatchet-dashboard",
      "description": "Worker-facing gRPC address in tokens",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SERVER_AUTH_SET_EMAIL_VERIFIED",
      "service": "hatchet-dashboard",
      "description": "Skip email verification step",
      "secret": false,
      "strategy": "default",
      "default": "t"
    },
    {
      "key": "SERVER_INTERNAL_CLIENT_BASE_STRATEGY",
      "service": "hatchet-dashboard",
      "description": "No TLS on internal gRPC client",
      "secret": false,
      "strategy": "default",
      "default": "none"
    },
    {
      "key": "SERVER_MSGQUEUE_PUBSUB_POSTGRES_MAX_CONNS",
      "service": "hatchet-dashboard",
      "description": "Pub/sub pool size",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "SERVER_INTERNAL_CLIENT_INTERNAL_GRPC_BROADCAST_ADDRESS",
      "service": "hatchet-dashboard",
      "description": "Private engine address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Cluster location on the volume",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Data panel alias, not read by the server",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Database created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "Private connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Superuser created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry in days",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Superuser password, read by the server",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Clean shutdown window",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "hatchet-scheduler",
      "description": "Health-check port Railway probes",
      "secret": false,
      "strategy": "default",
      "default": "8733"
    },
    {
      "key": "SERVER_URL",
      "service": "hatchet-scheduler",
      "description": "Public dashboard and API URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DATABASE_URL",
      "service": "hatchet-scheduler",
      "description": "Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SERVER_SERVICES",
      "service": "hatchet-scheduler",
      "description": "Run queue-to-worker assignment",
      "secret": false,
      "strategy": "default",
      "default": "scheduler"
    },
    {
      "key": "DATABASE_MAX_CONNS",
      "service": "hatchet-scheduler",
      "description": "Postgres pool size for this service",
      "secret": false,
      "strategy": "default",
      "default": "12"
    },
    {
      "key": "DATABASE_MIN_CONNS",
      "service": "hatchet-scheduler",
      "description": "Idle Postgres connections kept open",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "SERVER_LOGGER_LEVEL",
      "service": "hatchet-scheduler",
      "description": "Application log level",
      "secret": false,
      "strategy": "default",
      "default": "warn"
    },
    {
      "key": "SERVER_GRPC_INSECURE",
      "service": "hatchet-scheduler",
      "description": "Plaintext gRPC behind the TCP proxy",
      "secret": false,
      "strategy": "default",
      "default": "t"
    },
    {
      "key": "SERVER_LOGGER_FORMAT",
      "service": "hatchet-scheduler",
      "description": "Human-readable log format",
      "secret": false,
      "strategy": "default",
      "default": "console"
    },
    {
      "key": "SERVER_MSGQUEUE_KIND",
      "service": "hatchet-scheduler",
      "description": "Use Postgres as queue and pub/sub",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "DATABASE_LOGGER_LEVEL",
      "service": "hatchet-scheduler",
      "description": "Database log level",
      "secret": false,
      "strategy": "default",
      "default": "warn"
    },
    {
      "key": "DATABASE_LOGGER_FORMAT",
      "service": "hatchet-scheduler",
      "description": "Human-readable database logs",
      "secret": false,
      "strategy": "default",
      "default": "console"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "hatchet-scheduler",
      "description": "Selects the engine image build",
      "secret": false,
      "strategy": "default",
      "default": "engine/Dockerfile"
    },
    {
      "key": "SERVER_AUTH_COOKIE_DOMAIN",
      "service": "hatchet-scheduler",
      "description": "Session cookie domain",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SERVER_AUTH_COOKIE_INSECURE",
      "service": "hatchet-scheduler",
      "description": "Require HTTPS-only cookies",
      "secret": false,
      "strategy": "default",
      "default": "f"
    },
    {
      "key": "SERVER_GRPC_BROADCAST_ADDRESS",
      "service": "hatchet-scheduler",
      "description": "Worker-facing gRPC address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SERVER_INTERNAL_CLIENT_BASE_STRATEGY",
      "service": "hatchet-scheduler",
      "description": "No TLS on internal gRPC client",
      "secret": false,
      "strategy": "default",
      "default": "none"
    },
    {
      "key": "SERVER_MSGQUEUE_PUBSUB_POSTGRES_MAX_CONNS",
      "service": "hatchet-scheduler",
      "description": "Pub/sub pool size",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "SERVER_INTERNAL_CLIENT_INTERNAL_GRPC_BROADCAST_ADDRESS",
      "service": "hatchet-scheduler",
      "description": "Private engine address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PORT",
      "service": "hatchet-engine",
      "description": "Health-check port Railway probes",
      "secret": false,
      "strategy": "default",
      "default": "8733"
    },
    {
      "key": "SERVER_URL",
      "service": "hatchet-engine",
      "description": "Public dashboard and API URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DATABASE_URL",
      "service": "hatchet-engine",
      "description": "Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SERVER_SERVICES",
      "service": "hatchet-engine",
      "description": "Run only the gRPC dispatcher role",
      "secret": false,
      "strategy": "default",
      "default": "grpc-api"
    },
    {
      "key": "SERVER_GRPC_PORT",
      "service": "hatchet-engine",
      "description": "gRPC listening port",
      "secret": false,
      "strategy": "default",
      "default": "7070"
    },
    {
      "key": "DATABASE_MAX_CONNS",
      "service": "hatchet-engine",
      "description": "Postgres pool size for this service",
      "secret": false,
      "strategy": "default",
      "default": "12"
    },
    {
      "key": "DATABASE_MIN_CONNS",
      "service": "hatchet-engine",
      "description": "Idle Postgres connections kept open",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "SERVER_LOGGER_LEVEL",
      "service": "hatchet-engine",
      "description": "Application log level",
      "secret": false,
      "strategy": "default",
      "default": "warn"
    },
    {
      "key": "SERVER_GRPC_INSECURE",
      "service": "hatchet-engine",
      "description": "Plaintext gRPC behind the TCP proxy",
      "secret": false,
      "strategy": "default",
      "default": "t"
    },
    {
      "key": "SERVER_LOGGER_FORMAT",
      "service": "hatchet-engine",
      "description": "Human-readable log format",
      "secret": false,
      "strategy": "default",
      "default": "console"
    },
    {
      "key": "SERVER_MSGQUEUE_KIND",
      "service": "hatchet-engine",
      "description": "Use Postgres as queue and pub/sub",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "DATABASE_LOGGER_LEVEL",
      "service": "hatchet-engine",
      "description": "Database log level",
      "secret": false,
      "strategy": "default",
      "default": "warn"
    },
    {
      "key": "DATABASE_LOGGER_FORMAT",
      "service": "hatchet-engine",
      "description": "Human-readable database logs",
      "secret": false,
      "strategy": "default",
      "default": "console"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "hatchet-engine",
      "description": "Selects the engine image build",
      "secret": false,
      "strategy": "default",
      "default": "engine/Dockerfile"
    },
    {
      "key": "SERVER_GRPC_BIND_ADDRESS",
      "service": "hatchet-engine",
      "description": "Dual-stack bind, reachable privately",
      "secret": false,
      "strategy": "default",
      "default": "[::]"
    },
    {
      "key": "SERVER_AUTH_COOKIE_DOMAIN",
      "service": "hatchet-engine",
      "description": "Session cookie domain",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SERVER_AUTH_COOKIE_INSECURE",
      "service": "hatchet-engine",
      "description": "Require HTTPS-only cookies",
      "secret": false,
      "strategy": "default",
      "default": "f"
    },
    {
      "key": "SERVER_INTERNAL_CLIENT_BASE_STRATEGY",
      "service": "hatchet-engine",
      "description": "No TLS on internal gRPC client",
      "secret": false,
      "strategy": "default",
      "default": "none"
    },
    {
      "key": "SERVER_MSGQUEUE_PUBSUB_POSTGRES_MAX_CONNS",
      "service": "hatchet-engine",
      "description": "Pub/sub pool size",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "SERVER_INTERNAL_CLIENT_INTERNAL_GRPC_BROADCAST_ADDRESS",
      "service": "hatchet-engine",
      "description": "Private engine address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PORT",
      "service": "hatchet-controllers",
      "description": "Health-check port Railway probes",
      "secret": false,
      "strategy": "default",
      "default": "8733"
    },
    {
      "key": "SERVER_URL",
      "service": "hatchet-controllers",
      "description": "Public dashboard and API URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DATABASE_URL",
      "service": "hatchet-controllers",
      "description": "Postgres connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SERVER_SERVICES",
      "service": "hatchet-controllers",
      "description": "Run tickers, retries and retention",
      "secret": false,
      "strategy": "default",
      "default": "controllers"
    },
    {
      "key": "DATABASE_MAX_CONNS",
      "service": "hatchet-controllers",
      "description": "Postgres pool size for this service",
      "secret": false,
      "strategy": "default",
      "default": "12"
    },
    {
      "key": "DATABASE_MIN_CONNS",
      "service": "hatchet-controllers",
      "description": "Idle Postgres connections kept open",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "SERVER_LOGGER_LEVEL",
      "service": "hatchet-controllers",
      "description": "Application log level",
      "secret": false,
      "strategy": "default",
      "default": "warn"
    },
    {
      "key": "SERVER_GRPC_INSECURE",
      "service": "hatchet-controllers",
      "description": "Plaintext gRPC behind the TCP proxy",
      "secret": false,
      "strategy": "default",
      "default": "t"
    },
    {
      "key": "SERVER_LOGGER_FORMAT",
      "service": "hatchet-controllers",
      "description": "Human-readable log format",
      "secret": false,
      "strategy": "default",
      "default": "console"
    },
    {
      "key": "SERVER_MSGQUEUE_KIND",
      "service": "hatchet-controllers",
      "description": "Use Postgres as queue and pub/sub",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "DATABASE_LOGGER_LEVEL",
      "service": "hatchet-controllers",
      "description": "Database log level",
      "secret": false,
      "strategy": "default",
      "default": "warn"
    },
    {
      "key": "DATABASE_LOGGER_FORMAT",
      "service": "hatchet-controllers",
      "description": "Human-readable database logs",
      "secret": false,
      "strategy": "default",
      "default": "console"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "hatchet-controllers",
      "description": "Selects the engine image build",
      "secret": false,
      "strategy": "default",
      "default": "engine/Dockerfile"
    },
    {
      "key": "SERVER_AUTH_COOKIE_DOMAIN",
      "service": "hatchet-controllers",
      "description": "Session cookie domain",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SERVER_AUTH_COOKIE_INSECURE",
      "service": "hatchet-controllers",
      "description": "Require HTTPS-only cookies",
      "secret": false,
      "strategy": "default",
      "default": "f"
    },
    {
      "key": "SERVER_GRPC_BROADCAST_ADDRESS",
      "service": "hatchet-controllers",
      "description": "Worker-facing gRPC address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SERVER_INTERNAL_CLIENT_BASE_STRATEGY",
      "service": "hatchet-controllers",
      "description": "No TLS on internal gRPC client",
      "secret": false,
      "strategy": "default",
      "default": "none"
    },
    {
      "key": "SERVER_MSGQUEUE_PUBSUB_POSTGRES_MAX_CONNS",
      "service": "hatchet-controllers",
      "description": "Pub/sub pool size",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "SERVER_INTERNAL_CLIENT_INTERNAL_GRPC_BROADCAST_ADDRESS",
      "service": "hatchet-controllers",
      "description": "Private engine address",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hatchet"
      }
    },
    "cli": "railway deploy --template hatchet",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6465a996-61e7-4585-8f2e-e6cffc5bde0b",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "32454f28-3ead-4927-aa96-209f2ead2d2d": {
                  "icon": "https://raw.githubusercontent.com/hatchet-dev/hatchet/main/frontend/app/public/favicon.svg",
                  "name": "hatchet-dashboard",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/ready",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/hatchet-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port Railway health-checks, the API process",
                      "defaultValue": "8080"
                    },
                    "ADMIN_NAME": {
                      "isOptional": false,
                      "description": "Display name for that user",
                      "defaultValue": "Admin"
                    },
                    "SERVER_URL": {
                      "isOptional": false,
                      "description": "Public dashboard and API URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "First admin user, change before deploying",
                      "defaultValue": "admin@example.com"
                    },
                    "SERVER_PORT": {
                      "isOptional": false,
                      "description": "hatchet-api listening port behind nginx",
                      "defaultValue": "8080"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "First admin password, 8-64 chars mixed case and digit",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    },
                    "DATABASE_MAX_CONNS": {
                      "isOptional": false,
                      "description": "Postgres pool size for this service",
                      "defaultValue": "12"
                    },
                    "DATABASE_MIN_CONNS": {
                      "isOptional": false,
                      "description": "Idle Postgres connections kept open",
                      "defaultValue": "1"
                    },
                    "DEFAULT_TENANT_NAME": {
                      "description": "Name of the tenant created at boot",
                      "defaultValue": "Default"
                    },
                    "DEFAULT_TENANT_SLUG": {
                      "description": "Slug of that tenant",
                      "defaultValue": "default"
                    },
                    "SERVER_ALLOW_SIGNUP": {
                      "isOptional": false,
                      "description": "Disable public registration",
                      "defaultValue": "false"
                    },
                    "SERVER_LOGGER_LEVEL": {
                      "isOptional": false,
                      "description": "Application log level",
                      "defaultValue": "warn"
                    },
                    "SERVER_GRPC_INSECURE": {
                      "isOptional": false,
                      "description": "Plaintext gRPC behind the TCP proxy",
                      "defaultValue": "t"
                    },
                    "SERVER_LOGGER_FORMAT": {
                      "isOptional": false,
                      "description": "Human-readable log format",
                      "defaultValue": "console"
                    },
                    "SERVER_MSGQUEUE_KIND": {
                      "isOptional": false,
                      "description": "Use Postgres as queue and pub/sub",
                      "defaultValue": "postgres"
                    },
                    "DATABASE_LOGGER_LEVEL": {
                      "isOptional": false,
                      "description": "Database log level",
                      "defaultValue": "warn"
                    },
                    "DATABASE_LOGGER_FORMAT": {
                      "isOptional": false,
                      "description": "Human-readable database logs",
                      "defaultValue": "console"
                    },
                    "SERVER_ALLOWED_ORIGINS": {
                      "isOptional": false,
                      "description": "CORS origin allow-list",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Selects the dashboard image build",
                      "defaultValue": "dashboard/Dockerfile"
                    },
                    "SERVER_AUTH_COOKIE_DOMAIN": {
                      "isOptional": false,
                      "description": "Session cookie domain",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SERVER_API_TRUSTED_PROXIES": {
                      "isOptional": false,
                      "description": "Trust edge headers for client IP",
                      "defaultValue": "0.0.0.0/0,::/0"
                    },
                    "SERVER_AUTH_COOKIE_INSECURE": {
                      "isOptional": false,
                      "description": "Require HTTPS-only cookies",
                      "defaultValue": "f"
                    },
                    "SERVER_GRPC_BROADCAST_ADDRESS": {
                      "isOptional": false,
                      "description": "Worker-facing gRPC address in tokens",
                      "defaultValue": "${{hatchet-engine.RAILWAY_TCP_PROXY_DOMAIN}}:${{hatchet-engine.RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "SERVER_AUTH_SET_EMAIL_VERIFIED": {
                      "isOptional": false,
                      "description": "Skip email verification step",
                      "defaultValue": "t"
                    },
                    "SERVER_INTERNAL_CLIENT_BASE_STRATEGY": {
                      "isOptional": false,
                      "description": "No TLS on internal gRPC client",
                      "defaultValue": "none"
                    },
                    "SERVER_MSGQUEUE_PUBSUB_POSTGRES_MAX_CONNS": {
                      "isOptional": false,
                      "description": "Pub/sub pool size",
                      "defaultValue": "4"
                    },
                    "SERVER_INTERNAL_CLIENT_INTERNAL_GRPC_BROADCAST_ADDRESS": {
                      "isOptional": false,
                      "description": "Private engine address",
                      "defaultValue": "${{hatchet-engine.RAILWAY_PRIVATE_DOMAIN}}:7070"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  }
                },
                "3310851f-ab30-46e3-82cc-92d5e7e7012e": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/railwayapp-templates/postgres-ssl:18"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": false,
                      "description": "Cluster location on the volume",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_USER}}"
                    },
                    "PGDATABASE": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": false,
                      "description": "Data panel alias, not read by the server",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Database created on first boot",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private connection string",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "Superuser created on first boot",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": false,
                      "description": "SSL certificate expiry in days",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "Superuser password, read by the server",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Clean shutdown window",
                      "defaultValue": "60"
                    }
                  },
                  "volumeMounts": {
                    "3310851f-ab30-46e3-82cc-92d5e7e7012e": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "3d6ad30d-a68e-44ee-ae6b-bc9b27d237e1": {
                  "icon": "https://raw.githubusercontent.com/hatchet-dev/hatchet/main/frontend/app/public/favicon.svg",
                  "name": "hatchet-scheduler",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/live",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/hatchet-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Health-check port Railway probes",
                      "defaultValue": "8733"
                    },
                    "SERVER_URL": {
                      "isOptional": false,
                      "description": "Public dashboard and API URL",
                      "defaultValue": "https://${{hatchet-dashboard.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "SERVER_SERVICES": {
                      "isOptional": false,
                      "description": "Run queue-to-worker assignment",
                      "defaultValue": "scheduler"
                    },
                    "DATABASE_MAX_CONNS": {
                      "isOptional": false,
                      "description": "Postgres pool size for this service",
                      "defaultValue": "12"
                    },
                    "DATABASE_MIN_CONNS": {
                      "isOptional": false,
                      "description": "Idle Postgres connections kept open",
                      "defaultValue": "1"
                    },
                    "SERVER_LOGGER_LEVEL": {
                      "isOptional": false,
                      "description": "Application log level",
                      "defaultValue": "warn"
                    },
                    "SERVER_GRPC_INSECURE": {
                      "isOptional": false,
                      "description": "Plaintext gRPC behind the TCP proxy",
                      "defaultValue": "t"
                    },
                    "SERVER_LOGGER_FORMAT": {
                      "isOptional": false,
                      "description": "Human-readable log format",
                      "defaultValue": "console"
                    },
                    "SERVER_MSGQUEUE_KIND": {
                      "isOptional": false,
                      "description": "Use Postgres as queue and pub/sub",
                      "defaultValue": "postgres"
                    },
                    "DATABASE_LOGGER_LEVEL": {
                      "isOptional": false,
                      "description": "Database log level",
                      "defaultValue": "warn"
                    },
                    "DATABASE_LOGGER_FORMAT": {
                      "isOptional": false,
                      "description": "Human-readable database logs",
                      "defaultValue": "console"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Selects the engine image build",
                      "defaultValue": "engine/Dockerfile"
                    },
                    "SERVER_AUTH_COOKIE_DOMAIN": {
                      "isOptional": false,
                      "description": "Session cookie domain",
                      "defaultValue": "${{hatchet-dashboard.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SERVER_AUTH_COOKIE_INSECURE": {
                      "isOptional": false,
                      "description": "Require HTTPS-only cookies",
                      "defaultValue": "f"
                    },
                    "SERVER_GRPC_BROADCAST_ADDRESS": {
                      "isOptional": false,
                      "description": "Worker-facing gRPC address",
                      "defaultValue": "${{hatchet-engine.RAILWAY_TCP_PROXY_DOMAIN}}:${{hatchet-engine.RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "SERVER_INTERNAL_CLIENT_BASE_STRATEGY": {
                      "isOptional": false,
                      "description": "No TLS on internal gRPC client",
                      "defaultValue": "none"
                    },
                    "SERVER_MSGQUEUE_PUBSUB_POSTGRES_MAX_CONNS": {
                      "isOptional": false,
                      "description": "Pub/sub pool size",
                      "defaultValue": "4"
                    },
                    "SERVER_INTERNAL_CLIENT_INTERNAL_GRPC_BROADCAST_ADDRESS": {
                      "isOptional": false,
                      "description": "Private engine address",
                      "defaultValue": "${{hatchet-engine.RAILWAY_PRIVATE_DOMAIN}}:7070"
                    }
                  }
                },
                "5acfd258-0859-4506-bdef-e5e46603ac30": {
                  "icon": "https://raw.githubusercontent.com/hatchet-dev/hatchet/main/frontend/app/public/favicon.svg",
                  "name": "hatchet-engine",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/live",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/hatchet-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Health-check port Railway probes",
                      "defaultValue": "8733"
                    },
                    "SERVER_URL": {
                      "isOptional": false,
                      "description": "Public dashboard and API URL",
                      "defaultValue": "https://${{hatchet-dashboard.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "SERVER_SERVICES": {
                      "isOptional": false,
                      "description": "Run only the gRPC dispatcher role",
                      "defaultValue": "grpc-api"
                    },
                    "SERVER_GRPC_PORT": {
                      "isOptional": false,
                      "description": "gRPC listening port",
                      "defaultValue": "7070"
                    },
                    "DATABASE_MAX_CONNS": {
                      "isOptional": false,
                      "description": "Postgres pool size for this service",
                      "defaultValue": "12"
                    },
                    "DATABASE_MIN_CONNS": {
                      "isOptional": false,
                      "description": "Idle Postgres connections kept open",
                      "defaultValue": "1"
                    },
                    "SERVER_LOGGER_LEVEL": {
                      "isOptional": false,
                      "description": "Application log level",
                      "defaultValue": "warn"
                    },
                    "SERVER_GRPC_INSECURE": {
                      "isOptional": false,
                      "description": "Plaintext gRPC behind the TCP proxy",
                      "defaultValue": "t"
                    },
                    "SERVER_LOGGER_FORMAT": {
                      "isOptional": false,
                      "description": "Human-readable log format",
                      "defaultValue": "console"
                    },
                    "SERVER_MSGQUEUE_KIND": {
                      "isOptional": false,
                      "description": "Use Postgres as queue and pub/sub",
                      "defaultValue": "postgres"
                    },
                    "DATABASE_LOGGER_LEVEL": {
                      "isOptional": false,
                      "description": "Database log level",
                      "defaultValue": "warn"
                    },
                    "DATABASE_LOGGER_FORMAT": {
                      "isOptional": false,
                      "description": "Human-readable database logs",
                      "defaultValue": "console"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Selects the engine image build",
                      "defaultValue": "engine/Dockerfile"
                    },
                    "SERVER_GRPC_BIND_ADDRESS": {
                      "isOptional": false,
                      "description": "Dual-stack bind, reachable privately",
                      "defaultValue": "[::]"
                    },
                    "SERVER_AUTH_COOKIE_DOMAIN": {
                      "isOptional": false,
                      "description": "Session cookie domain",
                      "defaultValue": "${{hatchet-dashboard.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SERVER_AUTH_COOKIE_INSECURE": {
                      "isOptional": false,
                      "description": "Require HTTPS-only cookies",
                      "defaultValue": "f"
                    },
                    "SERVER_INTERNAL_CLIENT_BASE_STRATEGY": {
                      "isOptional": false,
                      "description": "No TLS on internal gRPC client",
                      "defaultValue": "none"
                    },
                    "SERVER_MSGQUEUE_PUBSUB_POSTGRES_MAX_CONNS": {
                      "isOptional": false,
                      "description": "Pub/sub pool size",
                      "defaultValue": "4"
                    },
                    "SERVER_INTERNAL_CLIENT_INTERNAL_GRPC_BROADCAST_ADDRESS": {
                      "isOptional": false,
                      "description": "Private engine address",
                      "defaultValue": "${{hatchet-engine.RAILWAY_PRIVATE_DOMAIN}}:7070"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "7070": {}
                    }
                  }
                },
                "64e3dbf0-4cf9-49b5-b50a-a0238b8349f8": {
                  "icon": "https://raw.githubusercontent.com/hatchet-dev/hatchet/main/frontend/app/public/favicon.svg",
                  "name": "hatchet-controllers",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/live",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/hatchet-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Health-check port Railway probes",
                      "defaultValue": "8733"
                    },
                    "SERVER_URL": {
                      "isOptional": false,
                      "description": "Public dashboard and API URL",
                      "defaultValue": "https://${{hatchet-dashboard.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Postgres connection string",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "SERVER_SERVICES": {
                      "isOptional": false,
                      "description": "Run tickers, retries and retention",
                      "defaultValue": "controllers"
                    },
                    "DATABASE_MAX_CONNS": {
                      "isOptional": false,
                      "description": "Postgres pool size for this service",
                      "defaultValue": "12"
                    },
                    "DATABASE_MIN_CONNS": {
                      "isOptional": false,
                      "description": "Idle Postgres connections kept open",
                      "defaultValue": "1"
                    },
                    "SERVER_LOGGER_LEVEL": {
                      "isOptional": false,
                      "description": "Application log level",
                      "defaultValue": "warn"
                    },
                    "SERVER_GRPC_INSECURE": {
                      "isOptional": false,
                      "description": "Plaintext gRPC behind the TCP proxy",
                      "defaultValue": "t"
                    },
                    "SERVER_LOGGER_FORMAT": {
                      "isOptional": false,
                      "description": "Human-readable log format",
                      "defaultValue": "console"
                    },
                    "SERVER_MSGQUEUE_KIND": {
                      "isOptional": false,
                      "description": "Use Postgres as queue and pub/sub",
                      "defaultValue": "postgres"
                    },
                    "DATABASE_LOGGER_LEVEL": {
                      "isOptional": false,
                      "description": "Database log level",
                      "defaultValue": "warn"
                    },
                    "DATABASE_LOGGER_FORMAT": {
                      "isOptional": false,
                      "description": "Human-readable database logs",
                      "defaultValue": "console"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Selects the engine image build",
                      "defaultValue": "engine/Dockerfile"
                    },
                    "SERVER_AUTH_COOKIE_DOMAIN": {
                      "isOptional": false,
                      "description": "Session cookie domain",
                      "defaultValue": "${{hatchet-dashboard.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SERVER_AUTH_COOKIE_INSECURE": {
                      "isOptional": false,
                      "description": "Require HTTPS-only cookies",
                      "defaultValue": "f"
                    },
                    "SERVER_GRPC_BROADCAST_ADDRESS": {
                      "isOptional": false,
                      "description": "Worker-facing gRPC address",
                      "defaultValue": "${{hatchet-engine.RAILWAY_TCP_PROXY_DOMAIN}}:${{hatchet-engine.RAILWAY_TCP_PROXY_PORT}}"
                    },
                    "SERVER_INTERNAL_CLIENT_BASE_STRATEGY": {
                      "isOptional": false,
                      "description": "No TLS on internal gRPC client",
                      "defaultValue": "none"
                    },
                    "SERVER_MSGQUEUE_PUBSUB_POSTGRES_MAX_CONNS": {
                      "isOptional": false,
                      "description": "Pub/sub pool size",
                      "defaultValue": "4"
                    },
                    "SERVER_INTERNAL_CLIENT_INTERNAL_GRPC_BROADCAST_ADDRESS": {
                      "isOptional": false,
                      "description": "Private engine address",
                      "defaultValue": "${{hatchet-engine.RAILWAY_PRIVATE_DOMAIN}}:7070"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "hatchet-dashboard",
      "method": "GET",
      "path": "/api/ready",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T13:57:49.552Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_8f48bcb23da84e41bebb",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 118,
    "typical_build_seconds": 30,
    "typical_start_seconds": 10,
    "slowest_service": "hatchet-scheduler"
  }
}
