services: netrinos: image: netrinosnet/netrinos:latest pull_policy: always container_name: netrinos network_mode: host cap_add: [NET_ADMIN] devices: [/dev/net/tun] volumes: - netrinos:/etc/netrinos # login, keys, settings restart: unless-stopped stop_grace_period: 30s # To join with an invitation instead of `netrinos login`, add: # environment: # NETRINOS_INVITE: "paste-the-invitation-here" # The login lives in a Docker volume named netrinos, in Docker's own storage, # so recreating or updating the container or the application keeps it. volumes: netrinos: name: netrinos