I have a “nginx” container that crashes when the php-fpm application is not started, this comes from the fact that nginx check host before launching
not being able to choose the order in which the applications are started
I tried to edit my nginx configuration with :
# docker dns ip or ?
resolver ${IP_HOST_RESOLVER};
set $upstream ${PHP_FPM_HOST}:9000;
# nginx will now start if host is not reachable
fastcgi_pass $upstream;