Exclude file isn't mapped into the container
The exclude file isn't automatically mapped into the container. A manual workaround for now is to copy the file into the container and to restart it afterwards:
$ docker compose cp exclude disco:exclude
$ docker compose restart disco
The appropriate file should be automatically mapped into the container, e.g. via a bind mount.