Each server runs an ultralight probe (scratch image, ~7 MiB RSS) that tails the logs, ships raw lines to the hub over HTTPS with an on-disk spool, and applies enforce decisions locally. The hub keeps one node per probe (primary node = the 1.x data dir, unchanged), does all analysis and serves the UI. Peer federation is removed. 'urutau import' brings 1.x data dirs in with hash and count verification. UI: probes page, host qualified incidents, IPs never wrap, egress heatmap labels, live and replay globes no longer auto-rotate, replay repeat, live traffic metrics. BREAKING CHANGE: URUTAU_PEERS, URUTAU_PEER_* and /api/v1/peer/* are gone; log path variables move from the hub to the probe. See docs/migration-2.0.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
63 lines
2.8 KiB
Bash
63 lines
2.8 KiB
Bash
# Variables read by docker-compose.yml (the hub). A probe has its own file:
|
|
# deploy/probe/.env.example. Other URUTAU_* settings need a line in
|
|
# the compose `environment` block (see docs/configuration.md).
|
|
|
|
# Image tag: latest (last release), X.Y.Z / X.Y (pinned), or edge (main).
|
|
URUTAU_VERSION=latest
|
|
# Container image repository.
|
|
URUTAU_IMAGE=git.lucasrguerra.dev.br/ciberfauna/urutau
|
|
# Host address and port of the dashboard. Keep it on loopback unless a reverse
|
|
# proxy with TLS sits in front of it.
|
|
URUTAU_PUBLISH=127.0.0.1:8790
|
|
# Access token for the dashboard and the API (required: 32+ characters, ~128 bits of
|
|
# entropy. `openssl rand -base64 48` is recommended; `-hex 32` also works).
|
|
# To keep it out of the environment, set URUTAU_TOKEN_FILE in the compose file.
|
|
URUTAU_TOKEN=
|
|
# Name of this instance in the dashboard.
|
|
URUTAU_NAME=urutau
|
|
# Reverse proxies whose X-Forwarded-For is trusted (login rate limit, probe auth limiter).
|
|
# The compose file puts the service on the urutau-edge network (10.250.0.0/24)
|
|
# and trusts only that; connect the proxy to it (see docs/docker.md).
|
|
URUTAU_TRUSTED_PROXY=10.250.0.0/24
|
|
# SSH users whose successful logins keep their IP out of the blocklist for 24 h
|
|
# (comma separated). Empty: no admin immunity.
|
|
URUTAU_ADMIN_USERS=
|
|
# Your own servers and monitors: their events are dropped entirely
|
|
# (comma separated CIDRs or IPs). Private, link-local and CGNAT ranges are
|
|
# already dropped (see --ignore).
|
|
URUTAU_TRUSTED=
|
|
# How often to check for a newer DB-IP Lite geolocation database (Go duration);
|
|
# 0 disables the download.
|
|
URUTAU_GEO_UPDATE=24h
|
|
# Analytics domain allowlist, exact names or *.example.com. Empty: every domain
|
|
# that answers 2xx.
|
|
# Recommended (in practice required) when a backend answers 2xx for any Host.
|
|
URUTAU_DOMAINS=
|
|
# CIDRs the monitoring User-Agents come from. When set, the monitor User-Agent
|
|
# only counts from them. Empty: only `ok` answers are filtered.
|
|
URUTAU_MONITOR_FROM=
|
|
# Time zone of the probes: fail2ban.log timestamps are local time and the hub
|
|
# parses them, so it must be the same on the hub and on every probe.
|
|
TZ=UTC
|
|
# Event registry size cap in <data-dir>/events (0 turns it off). Not passed by the
|
|
# compose file as is: add it to the `environment` block to change the 512MB default.
|
|
URUTAU_EVENTS_MAX=512MB
|
|
# Retention, up to 720h (30 days); same note as above.
|
|
URUTAU_RETENTION=720h
|
|
# File with Tor exit addresses (one per line); same note as above.
|
|
URUTAU_TOR_EXITS=
|
|
|
|
# Tor exit/relay lists
|
|
URUTAU_TOR_AUTO=on
|
|
|
|
# Second firewall: off | observe | on (needs deploy/host/install.sh --probe --enforce
|
|
# on each probe host; the decisions travel through the probes)
|
|
URUTAU_ENFORCE=off
|
|
URUTAU_ENFORCE_SHARE=off
|
|
URUTAU_ENFORCE_THRESHOLD=5
|
|
|
|
# Outbound traffic analysis (egress log sent by the probes): auto | on | off
|
|
URUTAU_EGRESS=auto
|
|
URUTAU_EGRESS_WORKLOADS=
|
|
URUTAU_EGRESS_RESOLVERS=
|