{
  "manifest_version": "1.0.0",
  "template": {
    "id": "323a33a4-1603-432c-a9ee-0f5231ffd8eb",
    "slug": "moltis",
    "name": "Moltis",
    "description": "A personal AI gateway written in Rust. One binary, no runtime, no npm.",
    "url": "https://railway.com/deploy/moltis",
    "upstream": {
      "image": "ghcr.io/moltis-org/moltis"
    }
  },
  "services": [
    {
      "name": "moltis",
      "source": {
        "image": "ghcr.io/moltis-org/moltis"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "moltis",
      "description": "Listen port",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "MOLTIS_NO_TLS",
      "service": "moltis",
      "description": "Disable TLS",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "MOLTIS_DATA_DIR",
      "service": "moltis",
      "description": "Data directory",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    },
    {
      "key": "MOLTIS_PASSWORD",
      "service": "moltis",
      "description": "Initial password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "moltis",
      "description": "Run as root",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "MOLTIS_CONFIG_DIR",
      "service": "moltis",
      "description": "Config directory\t",
      "secret": false,
      "strategy": "default",
      "default": "/data/config"
    },
    {
      "key": "MOLTIS_DEPLOY_PLATFORM",
      "service": "moltis",
      "description": "When set, Moltis hides local-only LLM providers",
      "secret": false,
      "strategy": "default",
      "default": "flyio"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "moltis"
      }
    },
    "cli": "railway deploy --template moltis",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "323a33a4-1603-432c-a9ee-0f5231ffd8eb",
            "serializedConfig": {
              "services": {
                "a44c20ec-78cc-4871-8d1b-ea691c588852": {
                  "icon": "https://raw.githubusercontent.com/moltis-org/moltis-website/main/favicon-512.svg",
                  "name": "moltis",
                  "deploy": {
                    "startCommand": "moltis --bind 0.0.0.0 --port 8080 --no-tls"
                  },
                  "source": {
                    "image": "ghcr.io/moltis-org/moltis"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Listen port",
                      "defaultValue": "8080"
                    },
                    "MOLTIS_NO_TLS": {
                      "isOptional": false,
                      "description": "Disable TLS",
                      "defaultValue": "true"
                    },
                    "MOLTIS_DATA_DIR": {
                      "isOptional": false,
                      "description": "Data directory",
                      "defaultValue": "/data"
                    },
                    "MOLTIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Initial password",
                      "defaultValue": "{{MOLTIS_PASSWORD}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Run as root",
                      "defaultValue": "0"
                    },
                    "MOLTIS_CONFIG_DIR": {
                      "isOptional": false,
                      "description": "Config directory\t",
                      "defaultValue": "/data/config"
                    },
                    "MOLTIS_DEPLOY_PLATFORM": {
                      "isOptional": false,
                      "description": "When set, Moltis hides local-only LLM providers",
                      "defaultValue": "flyio"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "a44c20ec-78cc-4871-8d1b-ea691c588852": {
                      "mountPath": "/data",
                      "backupSchedules": [
                        "DAILY"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T22:14:37.505Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T20:03:13.153Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_0203a1a92e0d4396acc1",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 49,
    "typical_build_seconds": 0,
    "typical_start_seconds": 11,
    "slowest_service": "moltis"
  }
}
