{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4f8710fb-5afd-4c12-986f-6da0b8752850",
    "slug": "tooljet-railway",
    "name": "Tooljet",
    "description": "Retool alternative. Open-source low-code platform for internal tools",
    "url": "https://railway.com/deploy/tooljet-railway",
    "upstream": {
      "image": "tooljet/tooljet-ce:ce-lts-latest"
    }
  },
  "services": [
    {
      "name": "tooljet",
      "source": {
        "image": "tooljet/tooljet-ce:ce-lts-latest"
      },
      "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": "tooljet-worker",
      "source": {
        "image": "tooljet/tooljet-ce:ce-lts-latest"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "postgrest",
      "source": {
        "image": "postgrest/postgrest:v14.17"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "tooljet",
      "description": "HTTP listening port",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "PG_DB",
      "service": "tooljet",
      "description": "Application metadata database",
      "secret": false,
      "strategy": "default",
      "default": "tooljet_production"
    },
    {
      "key": "PG_HOST",
      "service": "tooljet",
      "description": "Postgres private hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PG_PASS",
      "service": "tooljet",
      "description": "Postgres password",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PG_PORT",
      "service": "tooljet",
      "description": "Postgres port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PG_USER",
      "service": "tooljet",
      "description": "Postgres user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGRST_HOST",
      "service": "tooljet",
      "description": "PostgREST host and port",
      "secret": false,
      "strategy": "default",
      "default": "http://postgrest.railway.internal:3000"
    },
    {
      "key": "REDIS_HOST",
      "service": "tooljet",
      "description": "Redis private hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PORT",
      "service": "tooljet",
      "description": "Redis port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "TOOLJET_DB",
      "service": "tooljet",
      "description": "ToolJet Database name",
      "secret": false,
      "strategy": "default",
      "default": "tooljet_db"
    },
    {
      "key": "ORM_LOGGING",
      "service": "tooljet",
      "description": "Disable ORM query logging",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SERVE_CLIENT",
      "service": "tooljet",
      "description": "Serve the React client from this service",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "TOOLJET_HOST",
      "service": "tooljet",
      "description": "Public URL of the instance",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "tooljet",
      "description": "Redis password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_USERNAME",
      "service": "tooljet",
      "description": "Redis username",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "DISABLE_SIGNUPS",
      "service": "tooljet",
      "description": "Close public registration",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SECRET_KEY_BASE",
      "service": "tooljet",
      "description": "Signs session cookies",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "TOOLJET_DB_HOST",
      "service": "tooljet",
      "description": "ToolJet Database host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "TOOLJET_DB_PASS",
      "service": "tooljet",
      "description": "ToolJet Database password",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TOOLJET_DB_PORT",
      "service": "tooljet",
      "description": "ToolJet Database port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "TOOLJET_DB_USER",
      "service": "tooljet",
      "description": "ToolJet Database user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TOOLJET_EDITION",
      "service": "tooljet",
      "description": "Community edition build",
      "secret": false,
      "strategy": "default",
      "default": "ce"
    },
    {
      "key": "PGRST_JWT_SECRET",
      "service": "tooljet",
      "description": "Signs ToolJet Database requests",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CHECK_FOR_UPDATES",
      "service": "tooljet",
      "description": "Check for new ToolJet releases",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ENABLE_TOOLJET_DB",
      "service": "tooljet",
      "description": "Enable the built-in database",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "LOCKBOX_MASTER_KEY",
      "service": "tooljet",
      "description": "Encrypts stored datasource credentials",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DEPLOYMENT_PLATFORM",
      "service": "tooljet",
      "description": "Telemetry platform label",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "PGRST_DB_PRE_CONFIG",
      "service": "tooljet",
      "description": "PostgREST bootstrap function",
      "secret": false,
      "strategy": "default",
      "default": "postgrest.pre_config"
    },
    {
      "key": "USER_SESSION_EXPIRY",
      "service": "tooljet",
      "description": "Session lifetime in minutes",
      "secret": false,
      "strategy": "default",
      "default": "2880"
    },
    {
      "key": "COMMENT_FEATURE_ENABLE",
      "service": "tooljet",
      "description": "Comments on the app canvas",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "ENABLE_MULTIPLAYER_EDITING",
      "service": "tooljet",
      "description": "Real-time collaborative editing",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "TOOLJET_QUEUE_DASH_PASSWORD",
      "service": "tooljet",
      "description": "Queue dashboard basic auth password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DISABLE_CUSTOM_QUERY_LOGGING",
      "service": "tooljet",
      "description": "Disable per-query logging",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SLOW_QUERY_LOGGING_THRESHOLD",
      "service": "tooljet",
      "description": "Slow query threshold in milliseconds",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "TOOLJET_DB_STATEMENT_TIMEOUT",
      "service": "tooljet",
      "description": "Query timeout in milliseconds",
      "secret": false,
      "strategy": "default",
      "default": "60000"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "tooljet",
      "description": "Drain in-flight requests on restart",
      "secret": false,
      "strategy": "default",
      "default": "30"
    },
    {
      "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": "PG_DB",
      "service": "tooljet-worker",
      "description": "Application metadata database",
      "secret": false,
      "strategy": "default",
      "default": "tooljet_production"
    },
    {
      "key": "WORKER",
      "service": "tooljet-worker",
      "description": "Run as a queue worker",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PG_HOST",
      "service": "tooljet-worker",
      "description": "Postgres private hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PG_PASS",
      "service": "tooljet-worker",
      "description": "Postgres password",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PG_PORT",
      "service": "tooljet-worker",
      "description": "Postgres port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PG_USER",
      "service": "tooljet-worker",
      "description": "Postgres user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGRST_HOST",
      "service": "tooljet-worker",
      "description": "PostgREST host and port",
      "secret": false,
      "strategy": "default",
      "default": "http://postgrest.railway.internal:3000"
    },
    {
      "key": "REDIS_HOST",
      "service": "tooljet-worker",
      "description": "Redis private hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PORT",
      "service": "tooljet-worker",
      "description": "Redis port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "TOOLJET_DB",
      "service": "tooljet-worker",
      "description": "ToolJet Database name",
      "secret": false,
      "strategy": "default",
      "default": "tooljet_db"
    },
    {
      "key": "ORM_LOGGING",
      "service": "tooljet-worker",
      "description": "Disable ORM query logging",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "PG_DB_OWNER",
      "service": "tooljet-worker",
      "description": "Let only the app create databases",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "SERVE_CLIENT",
      "service": "tooljet-worker",
      "description": "No client assets on the worker",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "TOOLJET_HOST",
      "service": "tooljet-worker",
      "description": "Public URL of the instance",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "tooljet-worker",
      "description": "Redis password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_USERNAME",
      "service": "tooljet-worker",
      "description": "Redis username",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "SECRET_KEY_BASE",
      "service": "tooljet-worker",
      "description": "Shared session signing key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TOOLJET_DB_HOST",
      "service": "tooljet-worker",
      "description": "ToolJet Database host",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "TOOLJET_DB_PASS",
      "service": "tooljet-worker",
      "description": "ToolJet Database password",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TOOLJET_DB_PORT",
      "service": "tooljet-worker",
      "description": "ToolJet Database port",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "TOOLJET_DB_USER",
      "service": "tooljet-worker",
      "description": "ToolJet Database user",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "TOOLJET_EDITION",
      "service": "tooljet-worker",
      "description": "Community edition build",
      "secret": false,
      "strategy": "default",
      "default": "ce"
    },
    {
      "key": "PGRST_JWT_SECRET",
      "service": "tooljet-worker",
      "description": "Shared ToolJet Database signing secret",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CHECK_FOR_UPDATES",
      "service": "tooljet-worker",
      "description": "Skip update checks on the worker",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "ENABLE_TOOLJET_DB",
      "service": "tooljet-worker",
      "description": "Enable the built-in database",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "LOCKBOX_MASTER_KEY",
      "service": "tooljet-worker",
      "description": "Shared credential encryption key",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DEPLOYMENT_PLATFORM",
      "service": "tooljet-worker",
      "description": "Telemetry platform label",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "PGRST_DB_PRE_CONFIG",
      "service": "tooljet-worker",
      "description": "PostgREST bootstrap function",
      "secret": false,
      "strategy": "default",
      "default": "postgrest.pre_config"
    },
    {
      "key": "WORKFLOW_TIMEOUT_SECONDS",
      "service": "tooljet-worker",
      "description": "Workflow execution timeout",
      "secret": false,
      "strategy": "default",
      "default": "300"
    },
    {
      "key": "TOOLJET_QUEUE_DASH_PASSWORD",
      "service": "tooljet-worker",
      "description": "Queue dashboard basic auth password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DISABLE_CUSTOM_QUERY_LOGGING",
      "service": "tooljet-worker",
      "description": "Disable per-query logging",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SLOW_QUERY_LOGGING_THRESHOLD",
      "service": "tooljet-worker",
      "description": "Slow query threshold in milliseconds",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "TOOLJET_WORKFLOW_CONCURRENCY",
      "service": "tooljet-worker",
      "description": "Concurrent workflow jobs",
      "secret": false,
      "strategy": "default",
      "default": "10"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "tooljet-worker",
      "description": "Drain in-flight jobs on restart",
      "secret": false,
      "strategy": "default",
      "default": "30"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Private hostname, reachable only inside the project",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Standard Redis port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Default ACL user created on first boot",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Private connection string, use this from other services",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Convenience alias of the generated password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Generated password for the default user",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "postgrest",
      "description": "Listening port",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "PGRST_DB_URI",
      "service": "postgrest",
      "description": "ToolJet Database connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGRST_DB_POOL",
      "service": "postgrest",
      "description": "Connection pool size",
      "secret": false,
      "strategy": "default",
      "default": "10"
    },
    {
      "key": "PGRST_LOG_LEVEL",
      "service": "postgrest",
      "description": "Log verbosity",
      "secret": false,
      "strategy": "default",
      "default": "info"
    },
    {
      "key": "PGRST_JWT_SECRET",
      "service": "postgrest",
      "description": "Shared ToolJet Database signing secret",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGRST_SERVER_HOST",
      "service": "postgrest",
      "description": "Bind all interfaces",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "PGRST_SERVER_PORT",
      "service": "postgrest",
      "description": "PostgREST listening port",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "PGRST_DB_PRE_CONFIG",
      "service": "postgrest",
      "description": "Bootstrap function ToolJet creates",
      "secret": false,
      "strategy": "default",
      "default": "postgrest.pre_config"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "tooljet-railway"
      }
    },
    "cli": "railway deploy --template tooljet-railway",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4f8710fb-5afd-4c12-986f-6da0b8752850",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1544f523-aaf9-4467-a7e2-1fe5f4804ec7": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/tooljet.svg",
                  "name": "tooljet",
                  "deploy": {
                    "startCommand": "/bin/bash -c \"cd /app && exec ./server/entrypoint.sh npm run start:prod\"",
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "tooljet/tooljet-ce:ce-lts-latest"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP listening port",
                      "defaultValue": "3000"
                    },
                    "PG_DB": {
                      "isOptional": false,
                      "description": "Application metadata database",
                      "defaultValue": "tooljet_production"
                    },
                    "PG_HOST": {
                      "isOptional": false,
                      "description": "Postgres private hostname",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PG_PASS": {
                      "isOptional": false,
                      "description": "Postgres password",
                      "defaultValue": "${{Postgres.POSTGRES_PASSWORD}}"
                    },
                    "PG_PORT": {
                      "isOptional": false,
                      "description": "Postgres port",
                      "defaultValue": "5432"
                    },
                    "PG_USER": {
                      "isOptional": false,
                      "description": "Postgres user",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "PGRST_HOST": {
                      "isOptional": false,
                      "description": "PostgREST host and port",
                      "defaultValue": "http://postgrest.railway.internal:3000"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Redis private hostname",
                      "defaultValue": "${{Redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "6379"
                    },
                    "TOOLJET_DB": {
                      "isOptional": false,
                      "description": "ToolJet Database name",
                      "defaultValue": "tooljet_db"
                    },
                    "ORM_LOGGING": {
                      "isOptional": false,
                      "description": "Disable ORM query logging",
                      "defaultValue": "false"
                    },
                    "SERVE_CLIENT": {
                      "isOptional": false,
                      "description": "Serve the React client from this service",
                      "defaultValue": "true"
                    },
                    "TOOLJET_HOST": {
                      "isOptional": false,
                      "description": "Public URL of the instance",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "REDIS_USERNAME": {
                      "isOptional": false,
                      "description": "Redis username",
                      "defaultValue": "default"
                    },
                    "DISABLE_SIGNUPS": {
                      "isOptional": false,
                      "description": "Close public registration",
                      "defaultValue": "true"
                    },
                    "SECRET_KEY_BASE": {
                      "isOptional": false,
                      "description": "Signs session cookies",
                      "defaultValue": "{{SECRET_KEY_BASE}}"
                    },
                    "TOOLJET_DB_HOST": {
                      "isOptional": false,
                      "description": "ToolJet Database host",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "TOOLJET_DB_PASS": {
                      "isOptional": false,
                      "description": "ToolJet Database password",
                      "defaultValue": "${{Postgres.POSTGRES_PASSWORD}}"
                    },
                    "TOOLJET_DB_PORT": {
                      "isOptional": false,
                      "description": "ToolJet Database port",
                      "defaultValue": "5432"
                    },
                    "TOOLJET_DB_USER": {
                      "isOptional": false,
                      "description": "ToolJet Database user",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "TOOLJET_EDITION": {
                      "isOptional": false,
                      "description": "Community edition build",
                      "defaultValue": "ce"
                    },
                    "PGRST_JWT_SECRET": {
                      "isOptional": false,
                      "description": "Signs ToolJet Database requests",
                      "defaultValue": "{{PGRST_JWT_SECRET}}"
                    },
                    "CHECK_FOR_UPDATES": {
                      "isOptional": false,
                      "description": "Check for new ToolJet releases",
                      "defaultValue": "true"
                    },
                    "ENABLE_TOOLJET_DB": {
                      "isOptional": false,
                      "description": "Enable the built-in database",
                      "defaultValue": "true"
                    },
                    "LOCKBOX_MASTER_KEY": {
                      "isOptional": false,
                      "description": "Encrypts stored datasource credentials",
                      "defaultValue": "{{LOCKBOX_MASTER_KEY}}"
                    },
                    "DEPLOYMENT_PLATFORM": {
                      "isOptional": false,
                      "description": "Telemetry platform label",
                      "defaultValue": "railway"
                    },
                    "PGRST_DB_PRE_CONFIG": {
                      "isOptional": false,
                      "description": "PostgREST bootstrap function",
                      "defaultValue": "postgrest.pre_config"
                    },
                    "USER_SESSION_EXPIRY": {
                      "isOptional": false,
                      "description": "Session lifetime in minutes",
                      "defaultValue": "2880"
                    },
                    "COMMENT_FEATURE_ENABLE": {
                      "isOptional": false,
                      "description": "Comments on the app canvas",
                      "defaultValue": "true"
                    },
                    "ENABLE_MULTIPLAYER_EDITING": {
                      "isOptional": false,
                      "description": "Real-time collaborative editing",
                      "defaultValue": "true"
                    },
                    "TOOLJET_QUEUE_DASH_PASSWORD": {
                      "isOptional": false,
                      "description": "Queue dashboard basic auth password",
                      "defaultValue": "{{TOOLJET_QUEUE_DASH_PASSWORD}}"
                    },
                    "DISABLE_CUSTOM_QUERY_LOGGING": {
                      "isOptional": false,
                      "description": "Disable per-query logging",
                      "defaultValue": "true"
                    },
                    "SLOW_QUERY_LOGGING_THRESHOLD": {
                      "isOptional": false,
                      "description": "Slow query threshold in milliseconds",
                      "defaultValue": "1000"
                    },
                    "TOOLJET_DB_STATEMENT_TIMEOUT": {
                      "isOptional": false,
                      "description": "Query timeout in milliseconds",
                      "defaultValue": "60000"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Drain in-flight requests on restart",
                      "defaultValue": "30"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                },
                "1c94aa7b-1ecc-45c9-adf9-9ed52d6e74a3": {
                  "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": {
                    "1c94aa7b-1ecc-45c9-adf9-9ed52d6e74a3": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "bdf2f0f4-0f90-417b-9751-3d2e87540d50": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/tooljet.svg",
                  "name": "tooljet-worker",
                  "deploy": {
                    "startCommand": "/bin/bash -c \"cd /app && exec ./server/entrypoint.sh npm run start:prod\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "tooljet/tooljet-ce:ce-lts-latest"
                  },
                  "variables": {
                    "PG_DB": {
                      "isOptional": false,
                      "description": "Application metadata database",
                      "defaultValue": "tooljet_production"
                    },
                    "WORKER": {
                      "isOptional": false,
                      "description": "Run as a queue worker",
                      "defaultValue": "true"
                    },
                    "PG_HOST": {
                      "isOptional": false,
                      "description": "Postgres private hostname",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PG_PASS": {
                      "isOptional": false,
                      "description": "Postgres password",
                      "defaultValue": "${{Postgres.POSTGRES_PASSWORD}}"
                    },
                    "PG_PORT": {
                      "isOptional": false,
                      "description": "Postgres port",
                      "defaultValue": "5432"
                    },
                    "PG_USER": {
                      "isOptional": false,
                      "description": "Postgres user",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "PGRST_HOST": {
                      "isOptional": false,
                      "description": "PostgREST host and port",
                      "defaultValue": "http://postgrest.railway.internal:3000"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Redis private hostname",
                      "defaultValue": "${{Redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "6379"
                    },
                    "TOOLJET_DB": {
                      "isOptional": false,
                      "description": "ToolJet Database name",
                      "defaultValue": "tooljet_db"
                    },
                    "ORM_LOGGING": {
                      "isOptional": false,
                      "description": "Disable ORM query logging",
                      "defaultValue": "false"
                    },
                    "PG_DB_OWNER": {
                      "isOptional": false,
                      "description": "Let only the app create databases",
                      "defaultValue": "false"
                    },
                    "SERVE_CLIENT": {
                      "isOptional": false,
                      "description": "No client assets on the worker",
                      "defaultValue": "false"
                    },
                    "TOOLJET_HOST": {
                      "isOptional": false,
                      "description": "Public URL of the instance",
                      "defaultValue": "https://${{tooljet.RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis password",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "REDIS_USERNAME": {
                      "isOptional": false,
                      "description": "Redis username",
                      "defaultValue": "default"
                    },
                    "SECRET_KEY_BASE": {
                      "isOptional": false,
                      "description": "Shared session signing key",
                      "defaultValue": "${{tooljet.SECRET_KEY_BASE}}"
                    },
                    "TOOLJET_DB_HOST": {
                      "isOptional": false,
                      "description": "ToolJet Database host",
                      "defaultValue": "${{Postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "TOOLJET_DB_PASS": {
                      "isOptional": false,
                      "description": "ToolJet Database password",
                      "defaultValue": "${{Postgres.POSTGRES_PASSWORD}}"
                    },
                    "TOOLJET_DB_PORT": {
                      "isOptional": false,
                      "description": "ToolJet Database port",
                      "defaultValue": "5432"
                    },
                    "TOOLJET_DB_USER": {
                      "isOptional": false,
                      "description": "ToolJet Database user",
                      "defaultValue": "${{Postgres.PGUSER}}"
                    },
                    "TOOLJET_EDITION": {
                      "isOptional": false,
                      "description": "Community edition build",
                      "defaultValue": "ce"
                    },
                    "PGRST_JWT_SECRET": {
                      "isOptional": false,
                      "description": "Shared ToolJet Database signing secret",
                      "defaultValue": "${{tooljet.PGRST_JWT_SECRET}}"
                    },
                    "CHECK_FOR_UPDATES": {
                      "isOptional": false,
                      "description": "Skip update checks on the worker",
                      "defaultValue": "false"
                    },
                    "ENABLE_TOOLJET_DB": {
                      "isOptional": false,
                      "description": "Enable the built-in database",
                      "defaultValue": "true"
                    },
                    "LOCKBOX_MASTER_KEY": {
                      "isOptional": false,
                      "description": "Shared credential encryption key",
                      "defaultValue": "${{tooljet.LOCKBOX_MASTER_KEY}}"
                    },
                    "DEPLOYMENT_PLATFORM": {
                      "isOptional": false,
                      "description": "Telemetry platform label",
                      "defaultValue": "railway"
                    },
                    "PGRST_DB_PRE_CONFIG": {
                      "isOptional": false,
                      "description": "PostgREST bootstrap function",
                      "defaultValue": "postgrest.pre_config"
                    },
                    "WORKFLOW_TIMEOUT_SECONDS": {
                      "isOptional": false,
                      "description": "Workflow execution timeout",
                      "defaultValue": "300"
                    },
                    "TOOLJET_QUEUE_DASH_PASSWORD": {
                      "isOptional": false,
                      "description": "Queue dashboard basic auth password",
                      "defaultValue": "${{tooljet.TOOLJET_QUEUE_DASH_PASSWORD}}"
                    },
                    "DISABLE_CUSTOM_QUERY_LOGGING": {
                      "isOptional": false,
                      "description": "Disable per-query logging",
                      "defaultValue": "true"
                    },
                    "SLOW_QUERY_LOGGING_THRESHOLD": {
                      "isOptional": false,
                      "description": "Slow query threshold in milliseconds",
                      "defaultValue": "1000"
                    },
                    "TOOLJET_WORKFLOW_CONCURRENCY": {
                      "isOptional": false,
                      "description": "Concurrent workflow jobs",
                      "defaultValue": "10"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Drain in-flight jobs on restart",
                      "defaultValue": "30"
                    }
                  }
                },
                "e5bb7995-914f-4f37-96ac-2bb8082f18e7": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Private hostname, reachable only inside the project",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Standard Redis port",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Default ACL user created on first boot",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private connection string, use this from other services",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Convenience alias of the generated password",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated password for the default user",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "e5bb7995-914f-4f37-96ac-2bb8082f18e7": {
                      "mountPath": "/data"
                    }
                  }
                },
                "f1a743a6-d011-4fb4-96d2-973494769af0": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "postgrest",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "postgrest/postgrest:v14.17"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Listening port",
                      "defaultValue": "3000"
                    },
                    "PGRST_DB_URI": {
                      "isOptional": false,
                      "description": "ToolJet Database connection string",
                      "defaultValue": "postgres://${{Postgres.PGUSER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/tooljet_db"
                    },
                    "PGRST_DB_POOL": {
                      "isOptional": false,
                      "description": "Connection pool size",
                      "defaultValue": "10"
                    },
                    "PGRST_LOG_LEVEL": {
                      "isOptional": false,
                      "description": "Log verbosity",
                      "defaultValue": "info"
                    },
                    "PGRST_JWT_SECRET": {
                      "isOptional": false,
                      "description": "Shared ToolJet Database signing secret",
                      "defaultValue": "${{tooljet.PGRST_JWT_SECRET}}"
                    },
                    "PGRST_SERVER_HOST": {
                      "isOptional": false,
                      "description": "Bind all interfaces",
                      "defaultValue": "*"
                    },
                    "PGRST_SERVER_PORT": {
                      "isOptional": false,
                      "description": "PostgREST listening port",
                      "defaultValue": "3000"
                    },
                    "PGRST_DB_PRE_CONFIG": {
                      "isOptional": false,
                      "description": "Bootstrap function ToolJet creates",
                      "defaultValue": "postgrest.pre_config"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "tooljet",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-04T13:59:37.490Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_d35eb720b58040fabb01",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 201,
    "typical_build_seconds": 0,
    "typical_start_seconds": 31,
    "slowest_service": "tooljet-worker"
  }
}
