Skip to main content

Self-Hosting

Before you begin, clone or download the OpenCaptcha repository. Afterwards, choose one of the options below to host OpenCaptcha.


Requirements

  • Docker
  • Windows Operating System

How to Run

  1. Switch Docker to use Windows containers (see Docker docs).
  2. From the root folder of the project, run the following commands:
    docker build -t opencaptcha -f ./src/Captcha.WebApi/Dockerfile .
    docker run -it -p 5280:8080 opencaptcha
  3. The API can be accessed at http://localhost:5280.

Requirements

  • Visual Studio 2022
    • With ASP.NET and web development installed from the Visual Studio Installer
  • .NET 8 SDK
  • Windows Operating System

How to Run

  1. Open the solution in Visual Studio 2022.
  2. Build and launch the Captcha.WebApi project.
  3. The API can be accessed at https://localhost:5280.