Navigate to Atatus Dashboard --> Settings --> Account Settings --> License Keys. You can obtain the Infra License Key.

Atatus agent in Docker Swarm stack configuration

Add license key in the env variable of Atatus agent service inside the yaml file as follows

services:

  atatus-infra-agent:
    image: atatus/atatus-infra-agent:3.1.0
    environment:
      ATATUS_LICENSE_KEY: "lic_infra_*****"
    deploy:
      mode: global
    volumes:
      - "/var/lib/docker/containers:/var/lib/docker/containers:ro"
      - "/var/run/docker.sock:/var/run/docker.sock:ro"
      - "/sys/fs/cgroup:/hostfs/sys/fs/cgroup:ro"
      - "/proc:/hostfs/proc:ro"
      - "/:/hostfs:ro"
    command: ["-c", "/etc/atatus-infra-agent/", "-system.hostfs=/hostfs"]
    user: root