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

How to Run

  1. 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
  2. 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

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.