Wordpress standalone stack using ansible and docker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
623 B

FROM wordpress:6.6.1-php8.2-apache
COPY /etc/letsencrypt/live/equilibrateit.com/privkey.pem /etc/ssl/certs/
COPY /etc/letsencrypt/live/equilibrateit.com/fullchain.pem /etc/ssl/private/
RUN set -eux; \
{ \
echo '<VirtualHost _default_:443>'; \
# these IP ranges are reserved for "private" use and should thus *usually* be safe inside Docker
echo 'ServerName equilibrateit.com:443'; \
echo 'SSLEngine on'; \
echo 'SSLCertificateKeyFile /etc/ssl/certs/privkey.pem'; \
echo 'SSLCertificateFile /etc/ssl/private/fullchain.pem'; \
} > /etc/apache2/sites-available/equilibrateit.com-ssl.conf; \