{
  "manifest_version": "1.0.0",
  "template": {
    "id": "61754f3f-dfb6-4347-bc50-3a9ef7ab8333",
    "slug": "apprise-api-secure",
    "name": "Apprise API",
    "description": "Password-protected persistent notification gateway",
    "url": "https://railway.com/deploy/apprise-api-secure",
    "upstream": {
      "repo_url": "https://github.com/monotykamary/railway-template-apprise-api"
    }
  },
  "services": [
    {
      "name": "apprise",
      "source": {
        "repo": "https://github.com/monotykamary/railway-template-apprise-api"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "apprise",
      "description": "Runtime timezone.",
      "secret": false,
      "strategy": "default",
      "default": "Etc/UTC"
    },
    {
      "key": "PORT",
      "service": "apprise",
      "description": "Internal Nginx port.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "APPRISE_ADMIN",
      "service": "apprise",
      "description": "Allow the authenticated operator to list stored configuration keys.",
      "secret": false,
      "strategy": "default",
      "default": "y"
    },
    {
      "key": "APPRISE_AUTH_USER",
      "service": "apprise",
      "description": "Nginx Basic Auth username.",
      "secret": false,
      "strategy": "default",
      "default": "apprise"
    },
    {
      "key": "APPRISE_WORKER_COUNT",
      "service": "apprise",
      "description": "Single worker suited to the one-volume topology.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "APPRISE_AUTH_PASSWORD",
      "service": "apprise",
      "description": "Generated Nginx Basic Auth password.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "APPRISE_STATEFUL_MODE",
      "service": "apprise",
      "description": "Store named Apprise configurations as persistent files.",
      "secret": false,
      "strategy": "default",
      "default": "simple"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "apprise-api-secure"
      }
    },
    "cli": "railway deploy --template apprise-api-secure",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "61754f3f-dfb6-4347-bc50-3a9ef7ab8333",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "67b78b4e-a2d6-49f5-821d-e51c9d95b526": {
                  "icon": "https://raw.githubusercontent.com/monotykamary/railway-template-apprise-api/b5525d053c44c78cd5d36dd95b9525260b1608c9/assets/apprise-icon.png",
                  "name": "apprise",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/status",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/monotykamary/railway-template-apprise-api",
                    "commitSha": "19377c49e9981eee132a6ba5ea356d118287770b",
                    "rootDirectory": null
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Runtime timezone.",
                      "defaultValue": "Etc/UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Internal Nginx port.",
                      "defaultValue": "8000"
                    },
                    "APPRISE_ADMIN": {
                      "isOptional": false,
                      "description": "Allow the authenticated operator to list stored configuration keys.",
                      "defaultValue": "y"
                    },
                    "APPRISE_AUTH_USER": {
                      "isOptional": false,
                      "description": "Nginx Basic Auth username.",
                      "defaultValue": "apprise"
                    },
                    "APPRISE_WORKER_COUNT": {
                      "isOptional": false,
                      "description": "Single worker suited to the one-volume topology.",
                      "defaultValue": "1"
                    },
                    "APPRISE_AUTH_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated Nginx Basic Auth password.",
                      "defaultValue": "{{APPRISE_AUTH_PASSWORD}}"
                    },
                    "APPRISE_STATEFUL_MODE": {
                      "isOptional": false,
                      "description": "Store named Apprise configurations as persistent files.",
                      "defaultValue": "simple"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  },
                  "volumeMounts": {
                    "67b78b4e-a2d6-49f5-821d-e51c9d95b526": {
                      "mountPath": "/data",
                      "backupSchedules": [
                        "DAILY"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "apprise",
      "method": "GET",
      "path": "/status",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-06T12:05:10.251Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_1e50732d562f498e9e0c",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 152,
    "typical_build_seconds": 20,
    "typical_start_seconds": 10,
    "slowest_service": "apprise"
  }
}
