I have swarm nodes and we are deploying containers, from the containers I want to update records in database, like I want to update in my database, which node serve the request.
Is there any way to know using environment variable or something else, by which we know from container the node name ?