{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3b281398-15ac-4dc8-a065-1264926cec99",
    "slug": "vaultwarden-server",
    "name": "Vaultwarden | Password Manager, Bitwarden Compatible",
    "description": "Bitwarden-compatible password vault you host. Sign-ups closed by default.",
    "url": "https://railway.com/deploy/vaultwarden-server",
    "upstream": {
      "repo_url": "https://github.com/two-workspaces/vaultwarden"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Vaultwarden",
      "source": {
        "repo": "https://github.com/two-workspaces/vaultwarden"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Vaultwarden",
      "description": "Port the web vault and API listen on.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "DOMAIN",
      "service": "Vaultwarden",
      "description": "Public URL. Bitwarden clients and links in emails use it. Wired automatically.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "ADMIN_PASSWORD",
      "service": "Vaultwarden",
      "description": "Password for the admin panel at /admin (invite users, settings). Stored hashed inside the app.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "SIGNUPS_ALLOWED",
      "service": "Vaultwarden",
      "description": "Keep false: with it on, anyone who finds your URL can create an account on your server.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "vaultwarden-server"
      }
    },
    "cli": "railway deploy --template vaultwarden-server",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3b281398-15ac-4dc8-a065-1264926cec99",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "55afa6b3-e3f8-4139-8c80-f60ef2920cbc": {
                  "icon": "https://raw.githubusercontent.com/dani-garcia/vaultwarden/refs/heads/main/src/static/images/vaultwarden-icon.png",
                  "name": "Vaultwarden",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/alive",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/two-workspaces/vaultwarden",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port the web vault and API listen on.",
                      "defaultValue": "8080"
                    },
                    "DOMAIN": {
                      "isOptional": false,
                      "description": "Public URL. Bitwarden clients and links in emails use it. Wired automatically.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "OWNER_EMAIL": {
                      "isOptional": true,
                      "description": "Your email. It's invited on first boot so you can create your account at /#/signup. Leave it empty to invite people from /admin instead.",
                      "defaultValue": ""
                    },
                    "ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the admin panel at /admin (invite users, settings). Stored hashed inside the app.",
                      "defaultValue": "{{ADMIN_PASSWORD}}"
                    },
                    "SIGNUPS_ALLOWED": {
                      "isOptional": false,
                      "description": "Keep false: with it on, anyone who finds your URL can create an account on your server.",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "378a48d6-d138-4598-8e90-6b551dbd2f4b": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Vaultwarden",
      "method": "GET",
      "path": "/alive",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-11-07T16:15:10.050Z",
  "generator_version": "0.1.0"
}
