have a problem that and need your help with.
Following the scenario:
I have WEB applications in docker, which have a proxy (reverse) in apache, it directs to the other containers that are in the WEB application (also in apache) These applications are all on port 443, that is, they all have certificates.
The certificates are in a filesystem and I mount the directory through NFS.
These machines are from an approval environment, so they are only connected during business hours.
Here we have the problem.
The apache (proxy) does not go up and with that the application does not stay in the air. I found that it does not go up because apache only goes up when it finds the directory with the certificates. Because when the docker is going up it still hasn’t finished mounting the NFS directory
I need to know if there is any way for docker to go up after the mounted directory?
I do not know if i was clear. But thanks in advance for help.
If I use the docker-compose down and up command, after starting the machine, apache manages to stay UP.
If I remove the nfs share, and put the certificate in a local directory, it starts normally.
But it’s not my ideal scenario.