Open Xilonz opened 3 years ago
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 and please check out this if you are wondering why we auto close issues.
unstale - issue is still relevant :)
@Xilonz i moved this over to the right issue queue. @labboy0276 this might be an easy one to take care of. I think all we have to do is make the alias a bit more dynamic.
I'm trying to create a setup where we can quickly check if our plugin is working in \w multiple PHP versions.
NGINX is cycling through the available PHP services, no matter what NGINX service you are visiting. On each visit, the next service will be used.
The cause of this issue is the static network name that is used for the php-fpm service (defined here). All the services will get the same network alias, so NGINX doesn't have a clue which PHP service belongs to him.
/w overrides it would (probably, untested) look like this:
Ideally, we would be able to attach multiple PHP services to one NGINX service. I've tried setting the
via
tocli
andimage
tofpm
so no additional NGINX service will be created and used the overrides mentioned above. This seems to work, however, I haven't figured out the correct NGINX config yet.Any other suggestions for quickly switching between PHP versions are also welcome. NGINX is required.