towerops-agent/docker-compose.example.yml
Graham McIntire 9db47e22d1
Remove CAP_NET_RAW requirement from documentation
Since we now use command-line ping (setuid root) instead of surge-ping
library, the agent no longer requires CAP_NET_RAW capability.

Reverted documentation changes from previous commit that added the
capability requirement.
2026-02-10 13:27:08 -06:00

26 lines
727 B
YAML

services:
towerops-agent:
image: ghcr.io/towerops-app/towerops-agent:latest
container_name: towerops-agent
restart: unless-stopped
environment:
# Required: Agent authentication token (from Towerops web UI)
# Get this from: Organization > Agents > Create New Agent
- TOWEROPS_AGENT_TOKEN=your-agent-token-here
# Optional: Log level (error, warn, info, debug)
# Default: info
- LOG_LEVEL=info
# Optional: Enable SNMP trap listener
# Default: false
- TRAP_ENABLED=true
# Optional: SNMP trap listener port (only used if TRAP_ENABLED=true)
# Default: 162
- TRAP_PORT=162
ports:
# SNMP trap listener (UDP)
- "162:162/udp"