kamal icon indicating copy to clipboard operation
kamal copied to clipboard

add ENV var for container service name with version

Open moomerman opened this issue 2 years ago • 1 comments

I want to know what the unique service + version name is inside the docker container and I can't find a way of getting that information at present.

I propose a MRSK_CONTAINER_NAME (name tbd) ENV var is set when running the container so that it can be read by the running service inside the container.

Happy to implement if it is desired.

moomerman avatar Mar 04 '23 22:03 moomerman

Sounds good to me 👍

dhh avatar Mar 05 '23 08:03 dhh