Merge pull request #56 from goryn-clade/develop-2.2.3

Workaround for Lets Encrypt Cert Expiry
This commit is contained in:
Sam 2023-05-01 11:06:15 +02:00 committed by GitHub
commit 9d6a9be253
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
git restore docker-compose.yml pathfinder.Dockerfile static/php/php.ini static/pathfinder/environment.ini

View file

@ -16,7 +16,12 @@ RUN composer install
FROM trafex/alpine-nginx-php7:ba1dd422
RUN apk update && apk add --no-cache busybox-suid sudo php7-redis php7-pdo php7-pdo_mysql php7-fileinfo php7-event shadow gettext bash apache2-utils logrotate
RUN apk update && apk add --no-cache busybox-suid sudo php7-redis php7-pdo php7-pdo_mysql \
php7-fileinfo php7-event shadow gettext bash apache2-utils logrotate ca-certificates
# fix expired DST Cert
RUN sed -i '/^mozilla\/DST_Root_CA_X3.crt$/ s/^/!/' /etc/ca-certificates.conf \
&& update-ca-certificates
# symlink nginx logs to stdout/stderr for supervisord
RUN ln -sf /dev/stdout /var/log/nginx/access.log \