{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3ae98c76-1fff-4d38-bae9-c7a6b1948e47",
    "slug": "appsmith-2",
    "name": "Appsmith",
    "description": "Retool Alternative. Low-code internal tool (admin panel, dashboard) builder",
    "url": "https://railway.com/deploy/appsmith-2",
    "upstream": {
      "image": "appsmith/appsmith-ce:v2.2"
    }
  },
  "services": [
    {
      "name": "Appsmith",
      "source": {
        "image": "appsmith/appsmith-ce:v2.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/appsmith-stacks",
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Appsmith",
      "description": "Caddy listening port",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "APPSMITH_BASE_URL",
      "service": "Appsmith",
      "description": "Canonical public instance URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "APPSMITH_REDIS_URL",
      "service": "Appsmith",
      "description": "Session store and cache",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "APPSMITH_INSTANCE_NAME",
      "service": "Appsmith",
      "description": "Label shown in admin settings",
      "secret": false,
      "strategy": "default",
      "default": "Appsmith"
    },
    {
      "key": "APPSMITH_ENCRYPTION_SALT",
      "service": "Appsmith",
      "description": "Salt for credential encryption",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "APPSMITH_SIGNUP_DISABLED",
      "service": "Appsmith",
      "description": "First-boot seed for open signup",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "APPSMITH_DISABLE_TELEMETRY",
      "service": "Appsmith",
      "description": "Disable anonymous usage reporting",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "APPSMITH_ENCRYPTION_PASSWORD",
      "service": "Appsmith",
      "description": "Encrypts stored datasource credentials",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "APPSMITH_ALLOWED_FRAME_ANCESTORS",
      "service": "Appsmith",
      "description": "CSP frame-ancestors policy",
      "secret": false,
      "strategy": "default",
      "default": "'self'"
    },
    {
      "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": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "Public connection string over the TCP proxy, for external tools",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "appsmith-2"
      }
    },
    "cli": "railway deploy --template appsmith-2",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3ae98c76-1fff-4d38-bae9-c7a6b1948e47",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "229baf98-7ce3-42cf-a0ce-1aa66617a458": {
                  "icon": "https://cdn.jsdelivr.net/gh/selfhst/icons/png/appsmith.png",
                  "name": "Appsmith",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/v1/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "appsmith/appsmith-ce:v2.2"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Caddy listening port",
                      "defaultValue": "3000"
                    },
                    "APPSMITH_BASE_URL": {
                      "isOptional": false,
                      "description": "Canonical public instance URL",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "APPSMITH_REDIS_URL": {
                      "isOptional": false,
                      "description": "Session store and cache",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "APPSMITH_ADMIN_EMAILS": {
                      "isOptional": true,
                      "description": "Optional admin contact addresses",
                      "defaultValue": ""
                    },
                    "APPSMITH_INSTANCE_NAME": {
                      "isOptional": false,
                      "description": "Label shown in admin settings",
                      "defaultValue": "Appsmith"
                    },
                    "APPSMITH_ENCRYPTION_SALT": {
                      "isOptional": false,
                      "description": "Salt for credential encryption",
                      "defaultValue": "{{APPSMITH_ENCRYPTION_SALT}}"
                    },
                    "APPSMITH_SIGNUP_DISABLED": {
                      "isOptional": false,
                      "description": "First-boot seed for open signup",
                      "defaultValue": "false"
                    },
                    "APPSMITH_DISABLE_TELEMETRY": {
                      "isOptional": false,
                      "description": "Disable anonymous usage reporting",
                      "defaultValue": "true"
                    },
                    "APPSMITH_ENCRYPTION_PASSWORD": {
                      "isOptional": false,
                      "description": "Encrypts stored datasource credentials",
                      "defaultValue": "{{APPSMITH_ENCRYPTION_PASSWORD}}"
                    },
                    "APPSMITH_ALLOWED_FRAME_ANCESTORS": {
                      "isOptional": false,
                      "description": "CSP frame-ancestors policy",
                      "defaultValue": "'self'"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "229baf98-7ce3-42cf-a0ce-1aa66617a458": {
                      "mountPath": "/appsmith-stacks"
                    }
                  }
                },
                "9c308aec-7a8e-4c8d-bece-bfbd68a71439": {
                  "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}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "description": "Public connection string over the TCP proxy, for external tools",
                      "defaultValue": "redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    }
                  },
                  "volumeMounts": {
                    "9c308aec-7a8e-4c8d-bece-bfbd68a71439": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Appsmith",
      "method": "GET",
      "path": "/api/v1/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-04T14:11:49.854Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_171c76f9c53a4824b19e",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 112,
    "typical_build_seconds": 0,
    "typical_start_seconds": 93,
    "slowest_service": "Appsmith"
  }
}
