Anubis is distributed as a Docker image in the GitHub Container Registry atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/TecharoHq/Anubis/llms.txt
Use this file to discover all available pages before exploring further.
ghcr.io/techarohq/anubis.
Available Tags
| Tag | Description |
|---|---|
latest | The latest tagged release. Recommended for production. |
v<version> | A specific tagged release. Use for version pinning. |
main | The current build from the main branch. Use only if you need unreleased features. |
Quick Start
Create a policy file
Create a For more details, see the Bot Policies documentation.
botPolicy.yaml file to configure bot detection rules:Docker Compose
For production deployments, use Docker Compose to manage Anubis alongside your application:Environment Variables
Configure Anubis using environment variables. The most commonly used options:| Variable | Default | Description |
|---|---|---|
BIND | :8923 | Network address for Anubis to listen on |
BIND_NETWORK | tcp | Network family (tcp or unix) |
TARGET | http://localhost:3923 | URL of the service to protect |
DIFFICULTY | 4 | Challenge difficulty (number of leading zeroes) |
POLICY_FNAME | Built-in | Path to bot policy YAML file |
METRICS_BIND | :9090 | Address for Prometheus metrics and health checks |
COOKIE_DOMAIN | unset | Domain for Anubis cookies (e.g., example.com) |
COOKIE_EXPIRATION_TIME | 168h | How long challenge passes remain valid |
SLOG_LEVEL | INFO | Log level (DEBUG, INFO, WARN, ERROR) |
ED25519_PRIVATE_KEY_HEX_FILE | unset | Path to signing key file (required for persistent storage) |
Volume Mounts
Policy File
Mount your bot policy configuration:Signing Key
For persistent storage backends or multi-instance deployments, mount a signing key:Unix Sockets
When using Unix domain sockets, create a shared volume:Health Checks
Anubis provides two health check mechanisms:HTTP Health Endpoint
Access the health check at the metrics port:OK when Anubis is serving traffic.
Docker Health Check
Use the built-in--healthcheck flag:
System Requirements
Anubis has minimal resource requirements:- Memory: 128Mi is typically sufficient for most deployments
- CPU: Minimal CPU usage for typical workloads
Prometheus Metrics
Anubis exposes Prometheus metrics on the metrics port (default:9090):
Next Steps
Configuration
Learn about all configuration options
Bot Policies
Configure bot detection rules
Reverse Proxy Setup
Integrate with Nginx, Caddy, or other proxies
Environment Examples
Platform-specific deployment guides