{
  "manifest_version": "1.0.0",
  "template": {
    "id": "66137e0b-1960-41a7-8ad5-9e3bcaa6fbea",
    "slug": "kener-1",
    "name": "Kener",
    "description": "Kener status page using the official v4 image and its required Redis",
    "url": "https://railway.com/deploy/kener-1",
    "upstream": {
      "repo_url": "https://github.com/prime3679/railway-templates"
    }
  },
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "railway-templates",
      "source": {
        "repo": "https://github.com/prime3679/railway-templates"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/database",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Private network hostname of the Redis service, only resolvable from services in the same environment",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Port that Redis listens on",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Username for authenticating with Redis",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Connection string for connecting to Redis using the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Alias of REDIS_PASSWORD for clients that expect the unseparated name",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Randomly generated password for authenticating with Redis",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "railway-templates",
      "description": "HTTP port Kener listens on; must match the public networking port.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "ORIGIN",
      "service": "railway-templates",
      "description": "Public URL of the status page, derived from the Railway public domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "REDIS_URL",
      "service": "railway-templates",
      "description": "Redis connection URL (Kener v4 requires Redis); references the Redis service.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DATABASE_URL",
      "service": "railway-templates",
      "description": "Database connection string: SQLite file by default, or ${{Postgres.DATABASE_URL}}.",
      "secret": false,
      "strategy": "default",
      "default": "sqlite://./database/kener.sqlite.db"
    },
    {
      "key": "KENER_SECRET_KEY",
      "service": "railway-templates",
      "description": "Secret key used by Kener to sign sessions. Generated automatically.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "kener-1"
      }
    },
    "cli": "railway deploy --template kener-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "66137e0b-1960-41a7-8ad5-9e3bcaa6fbea",
            "serializedConfig": {
              "services": {
                "4020efa7-5306-49c6-9c61-629d832eabdf": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\""
                  },
                  "source": {
                    "image": "redis:8.2"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Private network hostname of the Redis service, only resolvable from services in the same environment",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Port that Redis listens on",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Username for authenticating with Redis",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Connection string for connecting to Redis using the private network",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Alias of REDIS_PASSWORD for clients that expect the unseparated name",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Randomly generated password for authenticating with Redis",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "4020efa7-5306-49c6-9c61-629d832eabdf": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha"
                },
                "9bf68952-b9f1-40bd-beae-77d93a8b3ce6": {
                  "name": "railway-templates",
                  "deploy": {
                    "healthcheckPath": "/healthcheck"
                  },
                  "source": {
                    "repo": "prime3679/railway-templates",
                    "rootDirectory": "/kener"
                  },
                  "variables": {
                    "PORT": {
                      "description": "HTTP port Kener listens on; must match the public networking port.",
                      "defaultValue": "3000"
                    },
                    "ORIGIN": {
                      "description": "Public URL of the status page, derived from the Railway public domain.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "REDIS_URL": {
                      "description": "Redis connection URL (Kener v4 requires Redis); references the Redis service.",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "DATABASE_URL": {
                      "description": "Database connection string: SQLite file by default, or ${{Postgres.DATABASE_URL}}.",
                      "defaultValue": "sqlite://./database/kener.sqlite.db"
                    },
                    "KENER_SECRET_KEY": {
                      "description": "Secret key used by Kener to sign sessions. Generated automatically.",
                      "defaultValue": "{{KENER_SECRET_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "9bf68952-b9f1-40bd-beae-77d93a8b3ce6": {
                      "mountPath": "/app/database"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "railway-templates",
      "method": "GET",
      "path": "/healthcheck",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-16T22:14:44.134Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-16T21:05:59.902Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_6e5c01b3e1ba44509b24",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 88,
    "typical_build_seconds": 30,
    "typical_start_seconds": 10,
    "slowest_service": "railway-templates"
  }
}
