I have a docker config with PHP and MARIADB working great on Windows and deployed on Digital Ocean droplet. I have mapped the and MariaDB files to the file system for permanence during reboots, etc.
Everything works in both environments.
Unfortunately, I do not know how to install an SSL in APACHE at all, much less in DOCKER. I have the GoDaddy .pfx file. I have split out the the key and the crt into .PEM files.
I have read many posts for docker and not and I don’t know what I am doing wrong.
Here is my BUILD file:
RUN apt-get update && apt-get install -y
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
&& docker-php-ext-install pdo pdo_mysql gd zip
&& docker-php-ext-install mysqli
&& docker-php-ext-enable mysqli
and here is my yml file:
Can anyone guide me through this?
Also, we would like to force/redirect to https:/ when it is installed too.