Open rsnbusa opened 3 years ago
Sorry forgot to state that there is no etc/letsencrypt directory
Hi, This is just a simple web-server for static content. No PHP.
Ofc one could expand my existing dockerfile and install just the apache-php-packages like described in one of the many tutorials: https://www.serverlab.ca/tutorials/linux/web-servers-linux/installing-php-for-apache-on-ubuntu/
But I won't do that, because I'm not spending time anymore on this project, sorry!
Did I miss something that I did not get a SSL from LetsEncrypt
Like said in the readme, ofc you need a configured VirtualHost, which uses that domain. Else Letsencrypt won't give you an y certs.
Ok
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