▲ | vivzkestrel 2 days ago | |
exactly! it all sounds easy unless you want to run stuff inside docker at which point there is a serious lack of documentation and resources | ||
▲ | yjftsjthsd-h a day ago | parent [-] | |
Okay, it seems like if you're using compose this is now doable: https://stackoverflow.com/questions/70322031/does-docker-com... So you'd make an init container that runs something like `test -f /certs/whatever.crt || openssl command to generate cert` and tell compose to run that before the real web server container. |