FCaptcha
Docker app from WebDecoy's Repository
Run your own CAPTCHA service for forms and other web actions.
Overview
Readme
View on GitHubFCaptcha Docker image
The public, prebuilt image is ghcr.io/webdecoy/fcaptcha:
- Browse releases and tags on GitHub Container Registry.
- Platforms: Linux
amd64andarm64(including Docker on Apple Silicon). - Runtime: the Go server, with the browser widget and demo bundled.
- Tags:
latestand release versions without thevprefix, such as1.41.0. - Pulling the public image does not require a GitHub account or building the source.
Quick local trial
Requires Docker and OpenSSL. This exposes the service only on your local machine:
docker pull ghcr.io/webdecoy/fcaptcha:1.41.0
docker run -d --name fcaptcha \
-p 127.0.0.1:3000:3000 \
-e FCAPTCHA_SECRET="$(openssl rand -hex 32)" \
-e FCAPTCHA_VERIFY_SECRET="$(openssl rand -hex 32)" \
ghcr.io/webdecoy/fcaptcha:1.41.0
Open http://localhost:3000/demo/. The container also serves:
| Path | Purpose |
|---|---|
/health |
Health check |
/fcaptcha.js |
Self-hosted browser widget |
/api/* |
FCaptcha API |
/siteverify |
Backend token verification |
curl --fail http://localhost:3000/health
docker logs fcaptcha
docker stop fcaptcha
The random keys above are convenient for a disposable trial. To integrate your
application, supply your own securely stored keys instead: the app backend needs
FCAPTCHA_VERIFY_SECRET, while FCAPTCHA_SECRET is the signing key. Neither
belongs in browser code. Changing the signing key invalidates existing tokens.
Compose from this repository
The included Compose file supports pulling the image or building locally:
export FCAPTCHA_SECRET="$(openssl rand -hex 32)"
docker compose -f docker/docker-compose.yml pull
docker compose -f docker/docker-compose.yml up -d --no-build
Unlike the loopback-only trial above, the existing Compose file publishes port
3000 on all host interfaces. Review the port mapping and network exposure before
running it on a reachable server. It uses latest; pin image: to a version or
digest for reproducibility. Set a separate FCAPTCHA_VERIFY_SECRET in the service's
environment when integrating a production app (otherwise it defaults to the signing key).
Deploy with CapRover
FCaptcha is available in the official CapRover One-Click Apps catalog.
- Open One-Click Apps in your CapRover dashboard and select FCaptcha.
- Run
openssl rand -hex 32twice and enter the two different values in Signing Secret and Verification Secret. - Deploy the app. Open its domain from HTTP Settings and append
/demo/to try the widget. - Enable HTTPS for public use. Copy
FCAPTCHA_VERIFY_SECRETfrom the app's environment settings to your application backend, then follow the integration quickstart.
The catalog template runs one replica with in-memory state. Keep both secrets server-side and retain them when updating the image. For public deployments, use the hardening guide to configure TRUSTED_PROXIES for your ingress.
Deploy on Unraid
The Unraid Docker template maps host port 8300 to container port 3000.
Run openssl rand -hex 32 twice and enter the two different values as the
signing and verification secrets. After starting the container, open its
WebUI to try the demo. The template uses one instance with in-memory state.
For a public integration, configure HTTPS, hostnames and trusted proxies using the hardening guide. Keep both keys across upgrades and use only the verification secret in your application backend.
Deploy with IceStore
The FCaptcha listing on IceStore
has catalog installation instructions for ZimaOS, CasaOS, ReCasaOS, Homeio
and MOS. Install FCaptcha and open it from your dashboard, or visit
http://<server-ip>:6790/demo/ on your local network.
The IceStore image generates separate signing and verification keys on first start and keeps them in the app data directory across container recreation. Follow the listing's integration steps and the FCaptcha quickstart to connect your application's backend. For public use, configure HTTPS and trusted proxies with the hardening guide.
Version pinning and upgrades
Use ghcr.io/webdecoy/fcaptcha:1.41.0 for a fixed release, or pin the multi-platform
digest shown by the registry:
docker buildx imagetools inspect ghcr.io/webdecoy/fcaptcha:1.41.0
# Use the reported top-level digest as:
# ghcr.io/webdecoy/fcaptcha@sha256:<digest>
For upgrades, review the changelog and hardening notes, update the pinned image, pull it, and recreate the service using the same managed configuration and keys. Configure HTTPS, allowed hostnames/site keys, trusted proxies and rate limits for your deployment. Use Redis-backed shared security state when running multiple replicas.
The software is MIT licensed; infrastructure and operations remain your responsibility.
Build and publication
Build locally from the repository root:
docker build -f docker/Dockerfile -t fcaptcha-local .
The publication workflow builds both
architectures and pushes to GHCR on v* release tags. It also supports manual
workflow dispatch. Release tags publish both latest and the versioned tag;
manual dispatch from a branch publishes latest. Builds include provenance and
SBOM attestations.
Categories
Related apps
Explore more like this
Explore allLinks
Details
ghcr.io/webdecoy/fcaptcha:1.51.2Runtime arguments
- Web UI
http://[IP]:[PORT:3000]/demo/- Network
bridge- Shell
sh- Privileged
- false
Template configuration
Host port for the FCaptcha HTTP service.
- Target
- 3000
- Default
- 8300
Generate a signing key with openssl rand -hex 32. Keep this key private and retain it across container updates.
- Target
- FCAPTCHA_SECRET
Generate a different key with openssl rand -hex 32. Use it only in the application backend for Siteverify.
- Target
- FCAPTCHA_VERIFY_SECRET