How do I get the Name of a container from inside that container in docker-compose?
I need the name, because it needs to be the same, even if the service is stopped and later restared (meaning that the ID will not suffice). I also need a different name for each instance of the container (because I need to be able to differentiate the containers when they were scaled).