{
  "manifest_version": "1",
  "slug": "cap",
  "title": "Cap",
  "headline": "Self-host Cap",
  "description": "Run Cap with Docker Compose on an exe.dev VM: screen recordings with share links anyone can open, Cap Desktop on your own server, MinIO storage and backups.",
  "category": "productivity",
  "tags": [
    "loom alternative",
    "screen recording",
    "video sharing",
    "cap self-host",
    "cap docker",
    "docker compose",
    "mysql",
    "minio"
  ],
  "url": "https://exe.dev/deploy/cap",
  "markdown_url": "https://exe-staging.dev/deploy/cap.md",
  "upstream": {
    "website": "https://cap.so",
    "source": "https://github.com/CapSoftware/Cap",
    "docs": "https://cap.so/docs/self-hosting",
    "license": "AGPL-3.0"
  },
  "example_vm_name": "my-cap",
  "time": "15 minutes",
  "stack": [
    {
      "name": "Cap Web",
      "detail": "ghcr.io/capsoftware/cap-web, the dashboard, share pages and API, behind nginx on port 8000",
      "port": 8000
    },
    {
      "name": "Media server",
      "detail": "ghcr.io/capsoftware/cap-media-server; ffmpeg for uploads, thumbnails and previews"
    },
    {
      "name": "MySQL 8.0",
      "detail": "Accounts, videos, comments and sharing settings",
      "data": "~/cap/mysql"
    },
    {
      "name": "MinIO",
      "detail": "S3 storage for the videos, served at /cap/ through signed links",
      "data": "~/cap/minio"
    }
  ],
  "access": [
    {
      "url": "https://my-cap.exe.xyz/",
      "who": "public",
      "what": "Share links, the Cap dashboard and its API for Cap Desktop, behind Cap's own sign-in"
    },
    {
      "url": "https://my-cap.exe.xyz/exe-login",
      "who": "private",
      "what": "Signs the owner in to Cap with their exe.dev login"
    },
    {
      "url": "https://my-cap.exe.xyz:9001/",
      "who": "private",
      "what": "MinIO's console, for looking at the storage"
    }
  ],
  "delivers": [
    "Cap Web, its media server, MySQL and MinIO on Docker Compose, with images pinned by digest.",
    "Cap at https://my-cap.exe.xyz/, still private, ready for the owner to make their account.",
    "Sign-in with the owner's exe.dev login at https://my-cap.exe.xyz/exe-login, once the account exists.",
    "Email sign-in turned off for everyone but the owner, so nobody else can make an account.",
    "Videos and the database on the VM's disk, and a backup script for both.",
    "Everything starts again after a reboot."
  ],
  "owner_runs_after": [
    "ssh exe.dev share set-public my-cap"
  ],
  "deployable": true,
  "deploy": {
    "new_vm_url": "https://exe-staging.dev/new?prompt=Set%20up%20Cap%20on%20this%20VM%20by%20following%20the%20exe.dev%20recipe%20at%20https%3A%2F%2Fexe-staging.dev%2Fdeploy%2Fcap.md%3Fvia%3Ddeploy%20from%20top%20to%20bottom.%0A%0AThe%20recipe%27s%20example%20VM%20name%20is%20my-cap.%20This%20VM%27s%20name%20is%20the%20output%20of%20%60hostname%60%3A%20use%20it%20wherever%20the%20recipe%20writes%20my-cap.%20Skip%20the%20step%20that%20creates%20the%20VM%3B%20you%20are%20on%20it.%0A%0AYou%20are%20done%20when%20all%20of%20these%20are%20true.%20Check%20each%20one%20yourself%3A%0A-%20Cap%20Web%2C%20its%20media%20server%2C%20MySQL%20and%20MinIO%20on%20Docker%20Compose%2C%20with%20images%20pinned%20by%20digest.%0A-%20Cap%20at%20https%3A%2F%2Fmy-cap.exe.xyz%2F%2C%20still%20private%2C%20ready%20for%20the%20owner%20to%20make%20their%20account.%0A-%20Sign-in%20with%20the%20owner%27s%20exe.dev%20login%20at%20https%3A%2F%2Fmy-cap.exe.xyz%2Fexe-login%2C%20once%20the%20account%20exists.%0A-%20Email%20sign-in%20turned%20off%20for%20everyone%20but%20the%20owner%2C%20so%20nobody%20else%20can%20make%20an%20account.%0A-%20Videos%20and%20the%20database%20on%20the%20VM%27s%20disk%2C%20and%20a%20backup%20script%20for%20both.%0A-%20Everything%20starts%20again%20after%20a%20reboot.%0A%0ARead%20the%20whole%20recipe%2C%20including%20the%20closed%20details.%20For%20initial%20setup%2C%0Afollow%20%22Install%20by%20hand%22%20first%2C%20from%20%22Start%20Docker%20at%20boot%22%20on%20%28skip%0Acreating%20the%20VM%29.%20The%20walkthrough%20at%20the%20top%20is%20for%20the%20owner%20afterwards.%0AWork%20as%20exedev%20in%20~%2Fcap.%20Never%20overwrite%20an%20existing%20.env.%20Don%27t%20create%0Athe%20Cap%20account%2C%20sign%20in%2C%20upload%20videos%20or%20change%20Cap%20settings%3A%20the%0Aowner%20makes%20the%20account%20with%20their%20own%20email.%20Don%27t%20make%20the%20VM%20public%3B%0Athat%20is%20the%20owner%27s%20call%2C%20after%20their%20account%20exists.%20Don%27t%20run%20Restore%0Aor%20Update%2C%20and%20don%27t%20add%20AI%20keys%20unless%20the%20owner%20gives%20them.%0AVerify%20docker.service%20and%20nginx%20are%20enabled%2C%20the%20four%20containers%20are%20up%0Aand%20healthy%2C%20and%20the%20checks%20in%20%22Put%20nginx%20in%20front%22%20print%20what%20they%0Ashould.%20Do%20not%20reboot.%20Finish%20by%20sending%20the%20owner%20to%0Ahttps%3A%2F%2F%3Cvm%3E.exe.xyz%2Flogin%20to%20make%20their%20account%20%28you%20can%20read%20them%20the%0Asign-in%20code%20from%20the%20logs%2C%20as%20%22Make%20your%20account%22%20says%29%2C%20then%20point%0Athem%20to%20%22Open%20it%20to%20the%20world%22.%0A%0AFinish%20with%20the%20URLs%20I%20should%20open%20and%20these%20commands%2C%20which%20only%20I%20can%20run%2C%20from%20my%20own%20computer%20%28with%20this%20VM%27s%20name%20in%20them%29%3A%0A%20%20ssh%20exe.dev%20share%20set-public%20my-cap%0A",
    "terminal": "curl -fsSL https://exe-staging.dev/deploy/cap/prompt.txt | ssh exe.dev new --prompt=/dev/stdin",
    "prompt": "Set up Cap on this VM by following the exe.dev recipe at https://exe-staging.dev/deploy/cap.md?via=deploy from top to bottom.\n\nThe recipe's example VM name is my-cap. This VM's name is the output of `hostname`: use it wherever the recipe writes my-cap. Skip the step that creates the VM; you are on it.\n\nYou are done when all of these are true. Check each one yourself:\n- Cap Web, its media server, MySQL and MinIO on Docker Compose, with images pinned by digest.\n- Cap at https://my-cap.exe.xyz/, still private, ready for the owner to make their account.\n- Sign-in with the owner's exe.dev login at https://my-cap.exe.xyz/exe-login, once the account exists.\n- Email sign-in turned off for everyone but the owner, so nobody else can make an account.\n- Videos and the database on the VM's disk, and a backup script for both.\n- Everything starts again after a reboot.\n\nRead the whole recipe, including the closed details. For initial setup,\nfollow \"Install by hand\" first, from \"Start Docker at boot\" on (skip\ncreating the VM). The walkthrough at the top is for the owner afterwards.\nWork as exedev in ~/cap. Never overwrite an existing .env. Don't create\nthe Cap account, sign in, upload videos or change Cap settings: the\nowner makes the account with their own email. Don't make the VM public;\nthat is the owner's call, after their account exists. Don't run Restore\nor Update, and don't add AI keys unless the owner gives them.\nVerify docker.service and nginx are enabled, the four containers are up\nand healthy, and the checks in \"Put nginx in front\" print what they\nshould. Do not reboot. Finish by sending the owner to\nhttps://\u003cvm\u003e.exe.xyz/login to make their account (you can read them the\nsign-in code from the logs, as \"Make your account\" says), then point\nthem to \"Open it to the world\".\n\nFinish with the URLs I should open and these commands, which only I can run, from my own computer (with this VM's name in them):\n  ssh exe.dev share set-public my-cap\n",
    "prompt_url": "https://exe-staging.dev/deploy/cap/prompt.txt"
  },
  "published": "2026-11-22",
  "updated": "2026-11-22",
  "verified": "2026-11-22",
  "related": [
    "minio",
    "mysql",
    "s3-storage",
    "immich",
    "chatwoot",
    "docuseal"
  ],
  "alternatives": [
    "Loom",
    "Vidyard",
    "Zight"
  ],
  "files": [
    "https://exe-staging.dev/deploy/cap/backup.sh",
    "https://exe-staging.dev/deploy/cap/compose.yml",
    "https://exe-staging.dev/deploy/cap/exe-login.html",
    "https://exe-staging.dev/deploy/cap/nginx.conf"
  ]
}
