{
  "manifest_version": "1.0.0",
  "template": {
    "id": "6bf27ca2-e0bf-4aa9-af64-7db4b3a6af83",
    "slug": "peekaping-postgres",
    "name": "Peekaping + Postgres",
    "description": "Open Source & Self-Hosted uptime monitoring tool (with postgres)",
    "url": "https://railway.com/deploy/peekaping-postgres",
    "upstream": {
      "image": "0xfurai/peekaping-bundle-postgres:latest"
    }
  },
  "services": [
    {
      "name": "Peekaping + Postgres",
      "source": {
        "image": "0xfurai/peekaping-bundle-postgres:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DB_NAME",
      "service": "Peekaping + Postgres",
      "description": "Provide a value for DB_NAME.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DB_PASS",
      "service": "Peekaping + Postgres",
      "description": "Provide a value for DB_PASS.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DB_USER",
      "service": "Peekaping + Postgres",
      "description": "Provide a value for DB_USER.",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "peekaping-postgres"
      }
    },
    "cli": "railway deploy --template peekaping-postgres",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "6bf27ca2-e0bf-4aa9-af64-7db4b3a6af83",
            "serializedConfig": {
              "services": {
                "661c9038-f278-419c-803c-27bfc9566830": {
                  "icon": "https://peekaping.com/logo-mascot.webp",
                  "name": "Peekaping + Postgres",
                  "source": {
                    "image": "0xfurai/peekaping-bundle-postgres:latest"
                  },
                  "variables": {
                    "DB_NAME": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "railway"
                    },
                    "DB_PASS": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "{{DB_PASS}}"
                    },
                    "DB_USER": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "postgres"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8383": {
                        "port": 8383
                      }
                    }
                  },
                  "volumeMounts": {
                    "661c9038-f278-419c-803c-27bfc9566830": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-18T18:04:49.314Z",
  "success_rate_30d": 0.8,
  "validation": {
    "last_run_id": "run_3426936fc6bc47589d50",
    "checks": [
      {
        "name": "run_completed",
        "passed": false,
        "detail": "Railway API errors: Not Authorized"
      }
    ],
    "typical_ready_seconds": 74,
    "typical_build_seconds": 0,
    "typical_start_seconds": 5,
    "slowest_service": "Peekaping + Postgres"
  }
}
