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
Do you have in mind to update this course using Alpine as base image?
Or what is the reason why you choose to use Ubuntu in first place?
I followed your course, but I wanted to make it with Alpine as base, I had some trouble with PHP-FPM and Nginx configuration, so I found some DockerImages online, slapped things together, and at least PHP with Nginx now works :)
So, basically, biggest differences were that I needed to create additional nginx directory in /run because it was failing, and then alpine nginx does not come with sites-enabled directory because it is more or less debian thing. As well as php-fpm config seems to be a bit different than it is on Ubuntu, so I needed to add this custom thing as well. And Supervisor config also stays in different place by default, so needed to change that as well.
As well as, this is sh and ash shell thing, but mkdir -p /run/{nginx,php} does not work with these shells as we are used to do with bash
The text was updated successfully, but these errors were encountered:
Do you have in mind to update this course using Alpine as base image?
Or what is the reason why you choose to use Ubuntu in first place?
I followed your course, but I wanted to make it with Alpine as base, I had some trouble with PHP-FPM and Nginx configuration, so I found some DockerImages online, slapped things together, and at least PHP with Nginx now works :)
So, basically, biggest differences were that I needed to create additional nginx directory in /run because it was failing, and then alpine nginx does not come with sites-enabled directory because it is more or less debian thing. As well as php-fpm config seems to be a bit different than it is on Ubuntu, so I needed to add this custom thing as well. And Supervisor config also stays in different place by default, so needed to change that as well.
As well as, this is
sh
andash
shell thing, butmkdir -p /run/{nginx,php}
does not work with these shells as we are used to do withbash
The text was updated successfully, but these errors were encountered: