Netbird-Client Docker Compose File in the docs

I’m running the Netbird-Client on my TrueNAS.
I’m using the docker-compose-file from the docs.
But everytime TrueNAS is restarted the netbird-client isn’t running.
Could it be that restart: unless-stopped is missing in the compose-file?

services:
  netbird-client:
      container_name: netbird-client
      hostname: <HOSTNAME>
      cap_add:
          - NET_ADMIN
          - SYS_ADMIN
          - SYS_RESOURCE
      devices:
          # Required when using userspace mode or when kernel module is not available
          - /dev/net/tun
      network_mode: host
      environment:
          - NB_SETUP_KEY=<SETUP KEY>
      volumes:
          - netbird-client:/var/lib/netbird
      image: netbirdio/netbird:latest
volumes:
  netbird-client:
      name: netbird-client

Just added restart: unless-stopped to my compose-file and restarted TrureNAS.
The Netbird-Client was not started automatically and had to be started manually again.