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
As you can see a Webserver is launched as well as a node app. And both apps are up and performing as expected.
When using your dockerfile, in the same directory using the original webserver dir (plus adding the Config folder) it does complete the installation and states that the webserver and node app are running.
The node app is working per usual and the webserver serves the html index page Ok. Since there is no PHP, it fails to perform its PHP duties. Also there is no ssl lock in the Browser.
Reviewing the webserver container via exec and looking at the etc/apache2/sites-available there is no WebServer Domain (flowiot.site) as set in the dockerfile ENV DOMAINS="flowiot.site".
My questions are:
1._ Did I miss something that I did not get a SSL from LetsEncrypt
1._ How do I add PHP. I did try adding a FROM php:7.4 which HAS to be the first statement or your process exit with an error about the website directory. IF done first it does finish but no PHK (did exec to the webserver and did a php -v).
Thanks for any help. As u can imagine, Apache-PHP go very hand in hand for many older services.
Regards.
Robert
The text was updated successfully, but these errors were encountered:
Hi.
I have a dockerfile and docker-compose.yml file that starts an Apache-PHP-Node environment which has been tested to satisfaction.
The dockerfile is
The docker-compose file is
As you can see a Webserver is launched as well as a node app. And both apps are up and performing as expected.
When using your dockerfile, in the same directory using the original webserver dir (plus adding the Config folder) it does complete the installation and states that the webserver and node app are running.
The node app is working per usual and the webserver serves the html index page Ok. Since there is no PHP, it fails to perform its PHP duties. Also there is no ssl lock in the Browser.
Reviewing the webserver container via exec and looking at the etc/apache2/sites-available there is no WebServer Domain (flowiot.site) as set in the dockerfile ENV DOMAINS="flowiot.site".
My questions are:
1._ Did I miss something that I did not get a SSL from LetsEncrypt
1._ How do I add PHP. I did try adding a FROM php:7.4 which HAS to be the first statement or your process exit with an error about the website directory. IF done first it does finish but no PHK (did exec to the webserver and did a php -v).
Thanks for any help. As u can imagine, Apache-PHP go very hand in hand for many older services.
Regards.
Robert
The text was updated successfully, but these errors were encountered: