When not using the default port you need to specify the port so the server can properly inform clients about it.
ports:
- 25570:9987/udp
- 25571:25571/tcp # you also need to use the same port inside the container
environment:
- TSSERVER_FILE_TRANSFER_PORT=25571 # this is used to inform clients and to specify the listen port