You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.
Info:
all
):all
):Issue:
Nginx container depends on php-fpm which doesnt allow to use a custom hostname and reference it within PHP.
Expected behavior:
Should be able to call
<?php some_func_get_url('laradock.local.nginx.host') ?>
Reproduce:
Relevant Code:
Possible solution that works fine is to make an alias as described below with the new hostname as the nginx host, then add both php-fpm and nginx on the new network, avoiding circular container dependencies.
https://medium.com/@yani/two-way-link-with-docker-compose-8e774887be41
The text was updated successfully, but these errors were encountered: