services: towerops-agent: image: ghcr.io/towerops-app/towerops-agent:latest container_name: towerops-agent restart: unless-stopped environment: # Required: Your Towerops API URL - TOWEROPS_API_URL=https://towerops.net # 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"