I forgot to add volume in docker-compose.yml when launched project.
The missing volume is ment to store letsencrypt certificates.
So if my server reboots I will lose certificates.
Usually I would just docker compose down, add needed volume, and reconfigure everything again.(This would be absolutely last option)
I cant turn off containers since projects are already in production.
Is there a way to create a volume and attach to it /etc/letsencrypt directory while containers are up and running?
My goal is to preserve letsencrypt directory if server for examples shuts down or containers crashes.
Huge appreciation of solution.
Please help, thanks in advance.