{
  "manifest_version": "1.0.0",
  "template": {
    "id": "33d944e0-04c0-4b75-93d5-bfb5873030fc",
    "slug": "spliit",
    "name": "Spliit",
    "description": "Self-hosted expense splitting for friends, family and trips",
    "url": "https://railway.com/deploy/spliit"
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "postgres",
      "source": {
        "repo": "https://github.com/mc9max/spliit"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "spliit",
      "source": {
        "repo": "https://github.com/mc9max/spliit"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "Provide a value for POSTGRES_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SPLIIT_DB_HOST",
      "service": "spliit",
      "description": "Provide a value for SPLIIT_DB_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SPLIIT_DB_PASSWORD",
      "service": "spliit",
      "description": "Provide a value for SPLIIT_DB_PASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "spliit"
      }
    },
    "cli": "railway deploy --template spliit",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "33d944e0-04c0-4b75-93d5-bfb5873030fc",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "414f7060-06e3-4c72-a18a-a9f92ca6467b": {
                  "icon": null,
                  "name": "postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/mc9max/spliit",
                    "rootDirectory": "postgres"
                  },
                  "variables": {
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "414f7060-06e3-4c72-a18a-a9f92ca6467b": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "ea43cfa4-b12c-4216-a1d5-851fd8a562d9": {
                  "icon": null,
                  "name": "spliit",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/health/readiness",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/mc9max/spliit",
                    "rootDirectory": null
                  },
                  "variables": {
                    "SPLIIT_DB_HOST": {
                      "isOptional": false,
                      "defaultValue": "${{postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "SPLIIT_DB_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{postgres.POSTGRES_PASSWORD}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-29T16:15:03.500Z",
  "generator_version": "0.1.0"
}
