{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ede23ead-4c76-4462-b261-d6e3ca1c6a94",
    "slug": "open-duet",
    "name": "Open Duet",
    "description": "Open Dots (OpenDots): private OpenDuet agents, routines, Claude and Codex.",
    "url": "https://railway.com/deploy/open-duet",
    "upstream": {
      "repo_url": "https://github.com/XavTo/Open-Duet-Railway"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Open Duet (Open Dots)",
      "source": {
        "repo": "https://github.com/XavTo/Open-Duet-Railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HOME",
      "service": "Open Duet (Open Dots)",
      "description": "Persistent engine sign-ins and runtime home.",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    },
    {
      "key": "PORT",
      "service": "Open Duet (Open Dots)",
      "description": "Public HTTP port; keep 8000.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "SQLITE_PATH",
      "service": "Open Duet (Open Dots)",
      "description": "Persistent SQLite database file.",
      "secret": false,
      "strategy": "default",
      "default": "/data/open-dots.db"
    },
    {
      "key": "APP_PASSWORD",
      "service": "Open Duet (Open Dots)",
      "description": "Generated owner passphrase for first login. Bootstrap only initializes a missing account; restarts do not reset existing passwords.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "TRUSTED_HOSTS",
      "service": "Open Duet (Open Dots)",
      "description": "Allowed application hosts plus Railway healthcheck. Keep the deployment domain and healthcheck.railway.app.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "LOOPBACK_TRUST",
      "service": "Open Duet (Open Dots)",
      "description": "Keep off: HTTP access requires native authentication.",
      "secret": false,
      "strategy": "default",
      "default": "off"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Open Duet (Open Dots)",
      "description": "Bootstrap repairs new-volume permissions before dropping to the unprivileged app user.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "DATABASE_BACKEND",
      "service": "Open Duet (Open Dots)",
      "description": "SQLite single-writer database on the persistent /data volume.",
      "secret": false,
      "strategy": "default",
      "default": "sqlite"
    },
    {
      "key": "FRONTEND_ORIGINS",
      "service": "Open Duet (Open Dots)",
      "description": "Allowed browser origins. Keep aligned with OPEN_DOTS_PUBLIC_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ENCRYPTION_SECRET",
      "service": "Open Duet (Open Dots)",
      "description": "Generated stable seed for credential encryption. Back up separately and do not change on an existing volume.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "LOCAL_TOOLS_ENABLED",
      "service": "Open Duet (Open Dots)",
      "description": "Enable workspace tools through upstream approval prompts. No Docker computer is provisioned.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "OPEN_DOTS_PUBLIC_URL",
      "service": "Open Duet (Open Dots)",
      "description": "Public HTTPS origin of this deployment. Update this and the origin/host variables when adding a custom domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "LOCAL_EXECUTION_ENABLED",
      "service": "Open Duet (Open Dots)",
      "description": "Allow authenticated owner/device sessions to use installed model engines.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Open Duet (Open Dots)",
      "description": "Grace period for clean shutdown.",
      "secret": false,
      "strategy": "default",
      "default": "30"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "open-duet"
      }
    },
    "cli": "railway deploy --template open-duet",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ede23ead-4c76-4462-b261-d6e3ca1c6a94",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0fdfcd37-c5e7-443e-acf8-e6a3963e97ac": {
                  "icon": "https://raw.githubusercontent.com/XavTo/Open-Duet-Railway/b0dde6a266089fa660b29d506eba1f255e0a1c13/icon.svg",
                  "name": "Open Duet (Open Dots)",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/v1/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "repo": "https://github.com/XavTo/Open-Duet-Railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "HOME": {
                      "isOptional": false,
                      "description": "Persistent engine sign-ins and runtime home.",
                      "defaultValue": "/data"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Public HTTP port; keep 8000.",
                      "defaultValue": "8000"
                    },
                    "SQLITE_PATH": {
                      "isOptional": false,
                      "description": "Persistent SQLite database file.",
                      "defaultValue": "/data/open-dots.db"
                    },
                    "APP_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated owner passphrase for first login. Bootstrap only initializes a missing account; restarts do not reset existing passwords.",
                      "defaultValue": "{{APP_PASSWORD}}"
                    },
                    "TRUSTED_HOSTS": {
                      "isOptional": false,
                      "description": "Allowed application hosts plus Railway healthcheck. Keep the deployment domain and healthcheck.railway.app.",
                      "defaultValue": "localhost,127.0.0.1,[::1],healthcheck.railway.app,${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "LOOPBACK_TRUST": {
                      "isOptional": false,
                      "description": "Keep off: HTTP access requires native authentication.",
                      "defaultValue": "off"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Bootstrap repairs new-volume permissions before dropping to the unprivileged app user.",
                      "defaultValue": "0"
                    },
                    "DATABASE_BACKEND": {
                      "isOptional": false,
                      "description": "SQLite single-writer database on the persistent /data volume.",
                      "defaultValue": "sqlite"
                    },
                    "FRONTEND_ORIGINS": {
                      "isOptional": false,
                      "description": "Allowed browser origins. Keep aligned with OPEN_DOTS_PUBLIC_URL.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "ENCRYPTION_SECRET": {
                      "isOptional": false,
                      "description": "Generated stable seed for credential encryption. Back up separately and do not change on an existing volume.",
                      "defaultValue": "{{ENCRYPTION_SECRET}}"
                    },
                    "LOCAL_TOOLS_ENABLED": {
                      "isOptional": false,
                      "description": "Enable workspace tools through upstream approval prompts. No Docker computer is provisioned.",
                      "defaultValue": "true"
                    },
                    "OPEN_DOTS_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Public HTTPS origin of this deployment. Update this and the origin/host variables when adding a custom domain.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "LOCAL_EXECUTION_ENABLED": {
                      "isOptional": false,
                      "description": "Allow authenticated owner/device sessions to use installed model engines.",
                      "defaultValue": "true"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Grace period for clean shutdown.",
                      "defaultValue": "30"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  },
                  "volumeMounts": {
                    "0fdfcd37-c5e7-443e-acf8-e6a3963e97ac": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Open Duet (Open Dots)",
      "method": "GET",
      "path": "/api/v1/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-22T16:15:02.275Z",
  "generator_version": "0.1.0"
}
