An iterator available in docker-compose 3.4?

Here is another example of someone looking for an iterator: Pass incremental variable to CMD for each scaled service in docker-compose