I have a folder of MP3s, some of which date back to 1999, just a few years after the format was popularised. Most of them have utterly terrible names (think RIDEONAM.MP3). I think at this point they might even survive the heat death of the universe. And they’ll still be terribly-organised.
I haven’t used secrets but I would go through the docker compose secrets docs
https://docs.docker.com/compose/how-tos/use-secrets/
At a glance it seems to be informative, but I’m not sure if it explains in depth how it is doing things under the hood.