{
  "manifest_version": "1.0.0",
  "template": {
    "id": "16fe2835-c91d-4c7d-9891-b013a612322a",
    "slug": "vOXRB-",
    "name": "HashiCorp Vault",
    "description": "Deploy and Host HashiCorp Vault with Railway",
    "url": "https://railway.com/deploy/vOXRB-",
    "upstream": {
      "repo_url": "https://github.com/FournyP/vault-railway-template"
    }
  },
  "services": [
    {
      "name": "HashiCorp Vault",
      "source": {
        "repo": "https://github.com/FournyP/vault-railway-template"
      },
      "needs_volume": true,
      "volume_mount_path": "/vault/file",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "ENV",
      "service": "HashiCorp Vault",
      "description": "file keeps secrets on the volume. dev runs vault server -dev: in-memory, unsealed, every secret lost on redeploy.",
      "secret": false,
      "strategy": "default",
      "default": "file"
    },
    {
      "key": "PORT",
      "service": "HashiCorp Vault",
      "description": "Listener port. Baked into the config at build time.",
      "secret": false,
      "strategy": "default",
      "default": "8200"
    },
    {
      "key": "UI_ENABLED",
      "service": "HashiCorp Vault",
      "description": "true serves the web UI at /ui. Build-time.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "STORAGE_PATH",
      "service": "HashiCorp Vault",
      "description": "Directory of the file backend. Must be the volume's mount path. Build-time.",
      "secret": false,
      "strategy": "default",
      "default": "/vault/file"
    },
    {
      "key": "MAX_LEASE_TTL",
      "service": "HashiCorp Vault",
      "description": "Maximum lease duration for tokens and secrets. Build-time.",
      "secret": false,
      "strategy": "default",
      "default": "720h"
    },
    {
      "key": "DEFAULT_LEASE_TTL",
      "service": "HashiCorp Vault",
      "description": "Default lease duration for tokens and secrets. Build-time.",
      "secret": false,
      "strategy": "default",
      "default": "168h"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "vOXRB-"
      }
    },
    "cli": "railway deploy --template vOXRB-",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "16fe2835-c91d-4c7d-9891-b013a612322a",
            "serializedConfig": {
              "services": {
                "002e0ba1-06e7-4bd9-a6b3-5576463d7e6c": {
                  "icon": "https://www.datocms-assets.com/2885/1676497447-vault-favicon-color.png?h=192&w=192",
                  "name": "HashiCorp Vault",
                  "build": {},
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "repo": "FournyP/vault-railway-template",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "ENV": {
                      "isOptional": true,
                      "description": "file keeps secrets on the volume. dev runs vault server -dev: in-memory, unsealed, every secret lost on redeploy.",
                      "defaultValue": "file"
                    },
                    "PORT": {
                      "isOptional": true,
                      "description": "Listener port. Baked into the config at build time.",
                      "defaultValue": "8200"
                    },
                    "UI_ENABLED": {
                      "isOptional": true,
                      "description": "true serves the web UI at /ui. Build-time.",
                      "defaultValue": "true"
                    },
                    "STORAGE_PATH": {
                      "isOptional": true,
                      "description": "Directory of the file backend. Must be the volume's mount path. Build-time.",
                      "defaultValue": "/vault/file"
                    },
                    "MAX_LEASE_TTL": {
                      "isOptional": true,
                      "description": "Maximum lease duration for tokens and secrets. Build-time.",
                      "defaultValue": "720h"
                    },
                    "DEFAULT_LEASE_TTL": {
                      "isOptional": true,
                      "description": "Default lease duration for tokens and secrets. Build-time.",
                      "defaultValue": "168h"
                    },
                    "DEV_ROOT_TOKEN_ID": {
                      "isOptional": true,
                      "description": "Root token for ENV=dev only. Ignored otherwise.",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "002e0ba1-06e7-4bd9-a6b3-5576463d7e6c": {
                      "mountPath": "/vault/file"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T16:16:50.393Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_1e9cbd21edf74fd4b79e",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 108,
    "typical_build_seconds": 21,
    "typical_start_seconds": 10,
    "slowest_service": "HashiCorp Vault"
  }
}
