{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a445e9c9-e1e0-4b00-8e71-69771286b2d6",
    "slug": "beaverhabits",
    "name": "beaverhabits",
    "description": "Open-source, private, and portable Habit Tracker with charts & streaks.",
    "url": "https://railway.com/deploy/beaverhabits",
    "upstream": {
      "image": "daya0576/beaverhabits:latest"
    }
  },
  "services": [
    {
      "name": "beaverhabits",
      "source": {
        "image": "daya0576/beaverhabits:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/.user",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "HABITS_STORAGE",
      "service": "beaverhabits",
      "description": "DATABASE will store habits data in a SQLite file called habits.db. USER_DISK stores it as a JSON file called habits.json. ",
      "secret": false,
      "strategy": "default",
      "default": "DATABASE"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "beaverhabits",
      "description": "Enables Railway to act as the root user and spawn the SQLite database on-deploy. Do not change.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "ENABLE_IOS_STANDALONE",
      "service": "beaverhabits",
      "description": "Experiential feature to enable standalone mode on iOS. The default setting is true. Lowercase. Disabling will turn off the PWA features.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "INDEX_HABIT_DATE_COLUMNS",
      "service": "beaverhabits",
      "description": "The number of days into the past you can see on the homescreen. Default is 5.",
      "secret": false,
      "strategy": "default",
      "default": "7"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "beaverhabits"
      }
    },
    "cli": "railway deploy --template beaverhabits",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a445e9c9-e1e0-4b00-8e71-69771286b2d6",
            "serializedConfig": {
              "services": {
                "6202dc9a-3ae7-41de-a56a-3f18bb18e985": {
                  "icon": null,
                  "name": "beaverhabits",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "daya0576/beaverhabits:latest"
                  },
                  "variables": {
                    "HABITS_STORAGE": {
                      "isOptional": false,
                      "description": "DATABASE will store habits data in a SQLite file called habits.db. USER_DISK stores it as a JSON file called habits.json. ",
                      "defaultValue": "DATABASE"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "description": "Enables Railway to act as the root user and spawn the SQLite database on-deploy. Do not change.",
                      "defaultValue": "0"
                    },
                    "ENABLE_IOS_STANDALONE": {
                      "isOptional": false,
                      "description": "Experiential feature to enable standalone mode on iOS. The default setting is true. Lowercase. Disabling will turn off the PWA features.",
                      "defaultValue": "true"
                    },
                    "INDEX_HABIT_DATE_COLUMNS": {
                      "isOptional": false,
                      "description": "The number of days into the past you can see on the homescreen. Default is 5.",
                      "defaultValue": "7"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "6202dc9a-3ae7-41de-a56a-3f18bb18e985": {
                      "mountPath": "/app/.user"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T22:17:27.009Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_7e6c99ef8f874a189dfd",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 53,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "beaverhabits"
  }
}
