Skip to main content
Anubis is distributed as a Docker image in the GitHub Container Registry at ghcr.io/techarohq/anubis.

Available Tags

Quick Start

1

Pull the Docker image

2

Create a policy file

Create a botPolicy.yaml file to configure bot detection rules:
For more details, see the Bot Policies documentation.
3

Run the container

4

Verify the deployment

Check that Anubis is running by accessing the health check endpoint:
You should receive an OK response.

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: For a complete list, see the Configuration reference.

Volume Mounts

The Docker image runs as user ID 1000 and group ID 1000. Ensure mounted volumes are readable by this user.

Policy File

Mount your bot policy configuration:
Set the environment variable:

Signing Key

For persistent storage backends or multi-instance deployments, mount a signing key:
Generate a key:
Set the environment variable:

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:
Returns 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
Anubis may not be suitable for applications with long-lived WebSocket connections, as these maintain open connections that consume resources.

Prometheus Metrics

Anubis exposes Prometheus metrics on the metrics port (default :9090):
Add this to your Prometheus configuration:

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