{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5a7af3b8-f4d6-4e86-996f-8fd3ce8c77c1",
    "slug": "tooljet-2",
    "name": "ToolJet",
    "description": "Build internal tools with ToolJet CE, PostgreSQL, PostgREST, and Valkey.",
    "url": "https://railway.com/deploy/tooljet-2",
    "upstream": {
      "repo_url": "https://github.com/orenaksakal/railway-templates"
    }
  },
  "services": [
    {
      "name": "redis",
      "source": {
        "image": "valkey/valkey@sha256:e0eb7c480958d32bdc4357a74bdd70653ae15f2f9b4c93c4a5a9fad1dc471c84"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "postgres",
      "source": {
        "repo": "https://github.com/orenaksakal/railway-templates"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "tooljet",
      "source": {
        "repo": "https://github.com/orenaksakal/railway-templates"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "postgrest",
      "source": {
        "image": "postgrest/postgrest:v12.0.2@sha256:79369c0cdf9d7112ed4e327bc1b80156be11575dd66fbda245077a2d13b803bc"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "REDIS_URL",
      "service": "redis",
      "description": "Private authenticated Redis/Valkey connection URL. Automatically assembled from service references.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "redis",
      "description": "Generated private Redis/Valkey password, or a reference to that password. Keep secret.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "APP_DB",
      "service": "postgres",
      "description": "Application database created during first initialization of an empty PostgreSQL volume.",
      "secret": false,
      "strategy": "default",
      "default": "tooljet"
    },
    {
      "key": "PGDATA",
      "service": "postgres",
      "description": "PostgreSQL data directory within the persistent volume. Do not change on an existing database.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "APP_USER",
      "service": "postgres",
      "description": "Dedicated application database role created during first initialization.",
      "secret": false,
      "strategy": "default",
      "default": "tooljet"
    },
    {
      "key": "POSTGRES_DB",
      "service": "postgres",
      "description": "Initial PostgreSQL database name, or the matching database selected by the application.",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "APP_PASSWORD",
      "service": "postgres",
      "description": "Generated password for the application database role. Preserve it with your backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_URL",
      "service": "postgres",
      "description": "Private PostgreSQL connection URL assembled from generated credentials and service references. No manual value is needed.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ENABLE_VECTOR",
      "service": "postgres",
      "description": "Initialize the pgvector extension for applications that require vector storage. Keep the supplied value.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "POSTGRES_USER",
      "service": "postgres",
      "description": "PostgreSQL initialization user, or the matching connection user for the private database.",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "PostgreSQL password. Generated for the database and referenced by dependent services; keep private.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "postgres",
      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
      "secret": false,
      "strategy": "default",
      "default": "templates/tooljet/Postgres.Dockerfile"
    },
    {
      "key": "ALLOW_APP_DATABASE_CREATION",
      "service": "postgres",
      "description": "Grant database and role creation privileges required by ToolJet. Keep false for other applications.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PORT",
      "service": "tooljet",
      "description": "HTTP port inside this service. Keep the default to match its Railway public port and health check.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "PG_DB",
      "service": "tooljet",
      "description": "Database name for ToolJet application metadata.",
      "secret": false,
      "strategy": "default",
      "default": "tooljet"
    },
    {
      "key": "PG_SSL",
      "service": "tooljet",
      "description": "PostgreSQL TLS toggle for ToolJet metadata. The default uses Railway private networking.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "WORKER",
      "service": "tooljet",
      "description": "Enable the ToolJet background worker in the application service.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PG_HOST",
      "service": "tooljet",
      "description": "Private PostgreSQL hostname for ToolJet application metadata.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PG_PASS",
      "service": "tooljet",
      "description": "Reference to the generated PostgreSQL application password used by ToolJet.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PG_PORT",
      "service": "tooljet",
      "description": "Private PostgreSQL port for ToolJet application metadata. Keep 5432.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PG_USER",
      "service": "tooljet",
      "description": "Dedicated PostgreSQL application role used by ToolJet.",
      "secret": false,
      "strategy": "default",
      "default": "tooljet"
    },
    {
      "key": "NODE_ENV",
      "service": "tooljet",
      "description": "Node.js runtime mode. Keep production for hosted deployments.",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "PGRST_HOST",
      "service": "tooljet",
      "description": "Private PostgREST base URL. Automatically references the postgrest service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_HOST",
      "service": "tooljet",
      "description": "Private Redis/Valkey hostname supplied by the redis service reference.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PORT",
      "service": "tooljet",
      "description": "Private Redis/Valkey port. Keep 6379.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "TOOLJET_DB",
      "service": "tooljet",
      "description": "Database name for built-in ToolJet Database storage.",
      "secret": false,
      "strategy": "default",
      "default": "tooljet_data"
    },
    {
      "key": "SERVE_CLIENT",
      "service": "tooljet",
      "description": "Serve the ToolJet web client from the application service.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "TOOLJET_HOST",
      "service": "tooljet",
      "description": "Public ToolJet HTTPS URL. Automatically generated; update for a custom domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SMTP_DISABLED",
      "service": "tooljet",
      "description": "SMTP starts disabled. Configure upstream SMTP settings and enable delivery before using invitations or password resets.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "tooljet",
      "description": "Generated private Redis/Valkey password, or a reference to that password. Keep secret.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TOOLJET_DB_SSL",
      "service": "tooljet",
      "description": "PostgreSQL TLS toggle for ToolJet Database. The default uses Railway private networking.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SECRET_KEY_BASE",
      "service": "tooljet",
      "description": "Generated application signing secret. Preserve across restarts and backup restores.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TOOLJET_DB_HOST",
      "service": "tooljet",
      "description": "Private PostgreSQL hostname for ToolJet Database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "TOOLJET_DB_PASS",
      "service": "tooljet",
      "description": "Reference to the generated PostgreSQL application password for ToolJet Database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TOOLJET_DB_PORT",
      "service": "tooljet",
      "description": "Private PostgreSQL port for ToolJet Database. Keep 5432.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "TOOLJET_DB_USER",
      "service": "tooljet",
      "description": "Dedicated PostgreSQL application role used for ToolJet Database.",
      "secret": false,
      "strategy": "default",
      "default": "tooljet"
    },
    {
      "key": "TOOLJET_EDITION",
      "service": "tooljet",
      "description": "ToolJet edition selector. Keep ce for this Community Edition image.",
      "secret": false,
      "strategy": "default",
      "default": "ce"
    },
    {
      "key": "PGRST_JWT_SECRET",
      "service": "tooljet",
      "description": "Generated JWT secret shared between ToolJet and PostgREST. Preserve matching references and keep private.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ENABLE_TOOLJET_DB",
      "service": "tooljet",
      "description": "Enable the built-in ToolJet Database backed by the private PostgreSQL and PostgREST services.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "LOCKBOX_MASTER_KEY",
      "service": "tooljet",
      "description": "Generated encryption key for saved ToolJet data-source credentials. Preserve securely with database backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TOOLJET_DB_RECONFIG",
      "service": "tooljet",
      "description": "Enable ToolJet Database configuration for the selected upstream startup flow. Keep the supplied value.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "tooljet",
      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
      "secret": false,
      "strategy": "default",
      "default": "templates/tooljet/Dockerfile"
    },
    {
      "key": "DISABLE_TOOLJET_TELEMETRY",
      "service": "tooljet",
      "description": "Disable ToolJet telemetry. Keep the supplied privacy default.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "TOOLJET_QUEUE_DASH_PASSWORD",
      "service": "tooljet",
      "description": "Generated password for ToolJet queue administration. Keep private.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "TOOLJET_WORKFLOW_SANDBOX_BYPASS",
      "service": "tooljet",
      "description": "Python sandbox bypass. Keep false; this template does not advertise Python workflow execution support.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "PGRST_DB_URI",
      "service": "postgrest",
      "description": "Private PostgreSQL connection URL used by PostgREST for ToolJet Database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGRST_JWT_SECRET",
      "service": "postgrest",
      "description": "Generated JWT secret shared between ToolJet and PostgREST. Preserve matching references and keep private.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGRST_SERVER_PORT",
      "service": "postgrest",
      "description": "Private PostgREST HTTP port. Keep aligned with the ToolJet reference.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "PGRST_DB_PRE_CONFIG",
      "service": "postgrest",
      "description": "Upstream ToolJet pre-configuration function invoked by PostgREST. Keep the supplied function name.",
      "secret": false,
      "strategy": "default",
      "default": "postgrest.pre_config"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "tooljet-2"
      }
    },
    "cli": "railway deploy --template tooljet-2",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5a7af3b8-f4d6-4e86-996f-8fd3ce8c77c1",
            "serializedConfig": {
              "services": {
                "1b0753b1-3799-5342-94ee-964f7cffc4fa": {
                  "name": "redis",
                  "deploy": {
                    "startCommand": "sh -c 'exec valkey-server --bind 0.0.0.0 --appendonly yes --maxmemory-policy noeviction --requirepass \"$REDIS_PASSWORD\"'",
                    "requiredMountPath": "/data",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "image": "valkey/valkey@sha256:e0eb7c480958d32bdc4357a74bdd70653ae15f2f9b4c93c4a5a9fad1dc471c84"
                  },
                  "variables": {
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private authenticated Redis/Valkey connection URL. Automatically assembled from service references.",
                      "defaultValue": "redis://:${{redis.REDIS_PASSWORD}}@${{redis.RAILWAY_PRIVATE_DOMAIN}}:6379"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated private Redis/Valkey password, or a reference to that password. Keep secret.",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "623ea7a2-1826-5278-87cc-fb0123bbac1d": {
                      "mountPath": "/data"
                    }
                  }
                },
                "3a176966-cbdc-5e73-8d16-9088beec4d34": {
                  "name": "postgres",
                  "build": {
                    "builder": "RAILPACK",
                    "dockerfilePath": "templates/tooljet/Postgres.Dockerfile"
                  },
                  "deploy": {
                    "requiredMountPath": "/var/lib/postgresql/data",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "repo": "orenaksakal/railway-templates",
                    "branch": "codex/railway-template-release"
                  },
                  "variables": {
                    "APP_DB": {
                      "isOptional": false,
                      "description": "Application database created during first initialization of an empty PostgreSQL volume.",
                      "defaultValue": "tooljet"
                    },
                    "PGDATA": {
                      "isOptional": false,
                      "description": "PostgreSQL data directory within the persistent volume. Do not change on an existing database.",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "APP_USER": {
                      "isOptional": false,
                      "description": "Dedicated application database role created during first initialization.",
                      "defaultValue": "tooljet"
                    },
                    "POSTGRES_DB": {
                      "isOptional": false,
                      "description": "Initial PostgreSQL database name, or the matching database selected by the application.",
                      "defaultValue": "postgres"
                    },
                    "APP_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated password for the application database role. Preserve it with your backups.",
                      "defaultValue": "{{APP_PASSWORD}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Private PostgreSQL connection URL assembled from generated credentials and service references. No manual value is needed.",
                      "defaultValue": "postgresql://tooljet:${{postgres.APP_PASSWORD}}@${{postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/tooljet"
                    },
                    "ENABLE_VECTOR": {
                      "isOptional": false,
                      "description": "Initialize the pgvector extension for applications that require vector storage. Keep the supplied value.",
                      "defaultValue": "false"
                    },
                    "POSTGRES_USER": {
                      "isOptional": false,
                      "description": "PostgreSQL initialization user, or the matching connection user for the private database.",
                      "defaultValue": "postgres"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "description": "PostgreSQL password. Generated for the database and referenced by dependent services; keep private.",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
                      "defaultValue": "templates/tooljet/Postgres.Dockerfile"
                    },
                    "ALLOW_APP_DATABASE_CREATION": {
                      "isOptional": false,
                      "description": "Grant database and role creation privileges required by ToolJet. Keep false for other applications.",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "fce22db3-b075-5a94-ba1f-d1525bbeaff1": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "5bd5568e-725c-565b-91ac-775770164d02": {
                  "name": "tooljet",
                  "build": {
                    "builder": "RAILPACK",
                    "dockerfilePath": "templates/tooljet/Dockerfile"
                  },
                  "deploy": {
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 600,
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "repo": "orenaksakal/railway-templates",
                    "branch": "codex/railway-template-release"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port inside this service. Keep the default to match its Railway public port and health check.",
                      "defaultValue": "3000"
                    },
                    "PG_DB": {
                      "isOptional": false,
                      "description": "Database name for ToolJet application metadata.",
                      "defaultValue": "tooljet"
                    },
                    "PG_SSL": {
                      "isOptional": false,
                      "description": "PostgreSQL TLS toggle for ToolJet metadata. The default uses Railway private networking.",
                      "defaultValue": "false"
                    },
                    "WORKER": {
                      "isOptional": false,
                      "description": "Enable the ToolJet background worker in the application service.",
                      "defaultValue": "true"
                    },
                    "PG_HOST": {
                      "isOptional": false,
                      "description": "Private PostgreSQL hostname for ToolJet application metadata.",
                      "defaultValue": "${{postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PG_PASS": {
                      "isOptional": false,
                      "description": "Reference to the generated PostgreSQL application password used by ToolJet.",
                      "defaultValue": "${{postgres.APP_PASSWORD}}"
                    },
                    "PG_PORT": {
                      "isOptional": false,
                      "description": "Private PostgreSQL port for ToolJet application metadata. Keep 5432.",
                      "defaultValue": "5432"
                    },
                    "PG_USER": {
                      "isOptional": false,
                      "description": "Dedicated PostgreSQL application role used by ToolJet.",
                      "defaultValue": "tooljet"
                    },
                    "NODE_ENV": {
                      "isOptional": false,
                      "description": "Node.js runtime mode. Keep production for hosted deployments.",
                      "defaultValue": "production"
                    },
                    "PGRST_HOST": {
                      "isOptional": false,
                      "description": "Private PostgREST base URL. Automatically references the postgrest service.",
                      "defaultValue": "${{postgrest.RAILWAY_PRIVATE_DOMAIN}}:3000"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Private Redis/Valkey hostname supplied by the redis service reference.",
                      "defaultValue": "${{redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Private Redis/Valkey port. Keep 6379.",
                      "defaultValue": "6379"
                    },
                    "TOOLJET_DB": {
                      "isOptional": false,
                      "description": "Database name for built-in ToolJet Database storage.",
                      "defaultValue": "tooljet_data"
                    },
                    "SERVE_CLIENT": {
                      "isOptional": false,
                      "description": "Serve the ToolJet web client from the application service.",
                      "defaultValue": "true"
                    },
                    "TOOLJET_HOST": {
                      "isOptional": false,
                      "description": "Public ToolJet HTTPS URL. Automatically generated; update for a custom domain.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SMTP_DISABLED": {
                      "isOptional": false,
                      "description": "SMTP starts disabled. Configure upstream SMTP settings and enable delivery before using invitations or password resets.",
                      "defaultValue": "true"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated private Redis/Valkey password, or a reference to that password. Keep secret.",
                      "defaultValue": "${{redis.REDIS_PASSWORD}}"
                    },
                    "TOOLJET_DB_SSL": {
                      "isOptional": false,
                      "description": "PostgreSQL TLS toggle for ToolJet Database. The default uses Railway private networking.",
                      "defaultValue": "false"
                    },
                    "SECRET_KEY_BASE": {
                      "isOptional": false,
                      "description": "Generated application signing secret. Preserve across restarts and backup restores.",
                      "defaultValue": "{{SECRET_KEY_BASE}}"
                    },
                    "TOOLJET_DB_HOST": {
                      "isOptional": false,
                      "description": "Private PostgreSQL hostname for ToolJet Database.",
                      "defaultValue": "${{postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "TOOLJET_DB_PASS": {
                      "isOptional": false,
                      "description": "Reference to the generated PostgreSQL application password for ToolJet Database.",
                      "defaultValue": "${{postgres.APP_PASSWORD}}"
                    },
                    "TOOLJET_DB_PORT": {
                      "isOptional": false,
                      "description": "Private PostgreSQL port for ToolJet Database. Keep 5432.",
                      "defaultValue": "5432"
                    },
                    "TOOLJET_DB_USER": {
                      "isOptional": false,
                      "description": "Dedicated PostgreSQL application role used for ToolJet Database.",
                      "defaultValue": "tooljet"
                    },
                    "TOOLJET_EDITION": {
                      "isOptional": false,
                      "description": "ToolJet edition selector. Keep ce for this Community Edition image.",
                      "defaultValue": "ce"
                    },
                    "PGRST_JWT_SECRET": {
                      "isOptional": false,
                      "description": "Generated JWT secret shared between ToolJet and PostgREST. Preserve matching references and keep private.",
                      "defaultValue": "{{PGRST_JWT_SECRET}}"
                    },
                    "ENABLE_TOOLJET_DB": {
                      "isOptional": false,
                      "description": "Enable the built-in ToolJet Database backed by the private PostgreSQL and PostgREST services.",
                      "defaultValue": "true"
                    },
                    "LOCKBOX_MASTER_KEY": {
                      "isOptional": false,
                      "description": "Generated encryption key for saved ToolJet data-source credentials. Preserve securely with database backups.",
                      "defaultValue": "{{LOCKBOX_MASTER_KEY}}"
                    },
                    "TOOLJET_DB_RECONFIG": {
                      "isOptional": false,
                      "description": "Enable ToolJet Database configuration for the selected upstream startup flow. Keep the supplied value.",
                      "defaultValue": "true"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
                      "defaultValue": "templates/tooljet/Dockerfile"
                    },
                    "DISABLE_TOOLJET_TELEMETRY": {
                      "isOptional": false,
                      "description": "Disable ToolJet telemetry. Keep the supplied privacy default.",
                      "defaultValue": "true"
                    },
                    "TOOLJET_QUEUE_DASH_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated password for ToolJet queue administration. Keep private.",
                      "defaultValue": "{{TOOLJET_QUEUE_DASH_PASSWORD}}"
                    },
                    "TOOLJET_WORKFLOW_SANDBOX_BYPASS": {
                      "isOptional": false,
                      "description": "Python sandbox bypass. Keep false; this template does not advertise Python workflow execution support.",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                },
                "e6ee84a1-bfb5-56e5-be76-b82800e58344": {
                  "name": "postgrest",
                  "deploy": {
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "image": "postgrest/postgrest:v12.0.2@sha256:79369c0cdf9d7112ed4e327bc1b80156be11575dd66fbda245077a2d13b803bc"
                  },
                  "variables": {
                    "PGRST_DB_URI": {
                      "isOptional": false,
                      "description": "Private PostgreSQL connection URL used by PostgREST for ToolJet Database.",
                      "defaultValue": "postgresql://tooljet:${{postgres.APP_PASSWORD}}@${{postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/tooljet_data"
                    },
                    "PGRST_JWT_SECRET": {
                      "isOptional": false,
                      "description": "Generated JWT secret shared between ToolJet and PostgREST. Preserve matching references and keep private.",
                      "defaultValue": "${{tooljet.PGRST_JWT_SECRET}}"
                    },
                    "PGRST_SERVER_PORT": {
                      "isOptional": false,
                      "description": "Private PostgREST HTTP port. Keep aligned with the ToolJet reference.",
                      "defaultValue": "3000"
                    },
                    "PGRST_DB_PRE_CONFIG": {
                      "isOptional": false,
                      "description": "Upstream ToolJet pre-configuration function invoked by PostgREST. Keep the supplied function name.",
                      "defaultValue": "postgrest.pre_config"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "tooljet",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-09-08T05:54:19.399Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-08T06:06:34.571Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_17bd44b7a14b41a49ff7",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 259,
    "typical_build_seconds": 121,
    "typical_start_seconds": 121,
    "slowest_service": "tooljet"
  }
}
